Skip to content

Commit 3c54062

Browse files
authored
Fix C++ example in couple your code - steering
1 parent 7e96c5a commit 3c54062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/couple-your-code/couple-your-code-steering-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ double dt; // actual time step size
8484

8585
precice.initialize();
8686
while (not simulationDone()){ // time loop
87-
preciceDt = getMaxTimeStepSize();
87+
preciceDt = precice.getMaxTimeStepSize();
8888
solverDt = beginTimeStep(); // e.g. compute adaptive dt
8989
dt = min(preciceDt, solverDt); // more about this in Step 5
9090
solveTimeStep(dt);

0 commit comments

Comments
 (0)