diff --git a/matrix/integration.hpp b/matrix/integration.hpp index 67eae7a453..afc0cb7556 100644 --- a/matrix/integration.hpp +++ b/matrix/integration.hpp @@ -6,12 +6,12 @@ namespace matrix { template int integrate_rk4( - Vector (*f)(Type, const Vector &x, const Vector & u), - const Vector & y0, - const Vector & u, + Vector (*f)(Type, const Matrix &x, const Matrix & u), + const Matrix & y0, + const Matrix & u, Type t0, Type h, - Vector & y1 + Matrix & y1 ) { // https://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods