Skip to content

Commit

Permalink
Default start time to zero when not specified
Browse files Browse the repository at this point in the history
robbr48 committed Oct 15, 2024

Verified

This commit was signed with the committer’s verified signature.
tigrato Tiago Silva
1 parent c87ddef commit 8d1e955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HopsanCore/include/Component.h
Original file line number Diff line number Diff line change
@@ -276,7 +276,7 @@ class HOPSANCORE_DLLAPI Component
ComponentSystem* mpSystemParent;
bool mInheritTimestep;
double mTimestep, mDesiredTimestep;
double mTime;
double mTime = 0;
size_t mModelHierarchyDepth; //!< This variable contains the depth of the system in the model hierarchy, (used by connect to figure out where to store nodes)
std::vector<HString> mSearchPaths;

0 comments on commit 8d1e955

Please sign in to comment.