Skip to content

Commit

Permalink
bug: fix order of set_u0 args
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Nov 6, 2024
1 parent 0ce680e commit 3c35d69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/execution/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ pub type MassFunc = unsafe extern "C" fn(
data: *mut RealType,
mv: *mut RealType,
);
pub type U0Func = unsafe extern "C" fn(data: *mut RealType, u: *mut RealType);
pub type U0Func = unsafe extern "C" fn(u: *mut RealType, data: *mut RealType);
pub type U0GradientFunc = unsafe extern "C" fn(
data: *mut RealType,
ddata: *mut RealType,
u: *mut RealType,
du: *mut RealType,
data: *mut RealType,
ddata: *mut RealType,
);
pub type CalcOutFunc =
unsafe extern "C" fn(time: RealType, u: *const RealType, data: *mut RealType);
Expand Down

0 comments on commit 3c35d69

Please sign in to comment.