Skip to content

Commit

Permalink
fix other interp3d bug, tests pass now
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecarow authored Nov 21, 2023
1 parent 45e7685 commit 658d6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/altrios-core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn interp3d(
let c0 = c00 * (1.0 - yd) + c10 * yd;
let c1 = c01 * (1.0 - yd) + c11 * yd;

let c = c0 * (1.0 - yd) + c1 * zd;
let c = c0 * (1.0 - zd) + c1 * zd;

Ok(c)
}
Expand Down

0 comments on commit 658d6a0

Please sign in to comment.