Skip to content

Commit

Permalink
run v fmt -w deriv/deriv.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Jul 27, 2024
1 parent caa28df commit 40360c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions deriv/deriv.v
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ pub fn backward(f func.Fn, x f64, h f64) (f64, f64) {
* @return A tuple containing the value of the partial derivative and the estimated error.
*/
pub fn partial(f fn ([]f64) f64, x []f64, variable int, h f64) (f64, f64) {


if variable < 0 || variable >= x.len {
errors.vsl_panic('Invalid variable index', .efailed)
}
Expand Down

0 comments on commit 40360c3

Please sign in to comment.