Skip to content

Commit

Permalink
test(docs): fix doctest with missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
denehoffman committed Nov 12, 2024
1 parent a210106 commit fbc6725
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 @@ -205,7 +205,7 @@
//! let mag = manager.register(Scalar::new("mag", parameter("magnitude"))).unwrap();
//! let model = (mag * bw).norm_sqr();
//!
//! let nll = NLL::new(&manager, &model, &ds_data, &ds_mc);
//! let nll = NLL::new(&manager, &model, &ds_data, &ds_mc, None);
//! println!("Parameters names and order: {:?}", nll.parameters());
//! let result = nll.evaluate(&[1.27, 0.120, 100.0]);
//! println!("The extended negative log-likelihood is {}", result);
Expand Down

0 comments on commit fbc6725

Please sign in to comment.