Skip to content

Commit

Permalink
[traj] corrected bug in diff (Python)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRohou committed Feb 19, 2021
1 parent 9f25886 commit 1fc32db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/src/core/variables/trajectory/codac_py_Trajectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ void export_Trajectory(py::module& m)
TRAJECTORY_CONSTTRAJECTORY_DIFF)

.def("finite_diff", &Trajectory::finite_diff,
TRAJECTORY_DOUBLE_FINITE_DIFF_DOUBLE,
"t"_a)
TRAJECTORY_DOUBLE_FINITE_DIFF_DOUBLE_DOUBLE,
"t"_a, "h"_a)

// Assignments operators

Expand Down

0 comments on commit 1fc32db

Please sign in to comment.