Skip to content

Commit 45a5610

Browse files
Merge pull request #28 from mehdi-benallegue/master
Correct the time incrementation for control recomputation
2 parents dd03d5c + d871ed4 commit 45a5610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ increment( const double & dt )
299299

300300

301301
/* Force the recomputation of the control. */
302-
controlSIN( time+1 );
302+
controlSIN( time );
303303
sotDEBUG(25) << "u" <<time<<" = " << controlSIN.accessCopy() << endl;
304304

305305
/* Integration of numerical values. This function is virtual. */

0 commit comments

Comments
 (0)