Skip to content

Commit

Permalink
Merge pull request #12 from theHausdorffMetric/master
Browse files Browse the repository at this point in the history
Corrected documentation of MObjFn.
  • Loading branch information
adwhit authored Jun 19, 2023
2 parents 766bead + 5f40ec5 commit 4a9d9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ type ConstraintCfg<F, T> = FunctionCfg<F, T>;

/// A trait representing a multi-objective function.
///
/// A multi-objective function takes the form of a closure `f(result: &mut [f64], x: &[f64], gradient: Option<&mut [f64], user_data: &mut U) -> f64`
/// A multi-objective function takes the form of a closure `f(result: &mut [f64], x: &[f64], gradient: Option<&mut [f64], user_data: &mut U)`
///
/// * `result` - `m`-dimensional array to store the value `f(x)`
/// * `x` - `n`-dimensional array
Expand Down

0 comments on commit 4a9d9a1

Please sign in to comment.