Skip to content

Commit

Permalink
remove unnecessary expects
Browse files Browse the repository at this point in the history
clbarnes committed Jan 20, 2024
1 parent 74dd242 commit 19261d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nblast-rs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -96,10 +96,10 @@
//! // Add some neurons built from points and a neighborhood size,
//! // returning their indices in the arena
//! let idx1 = arena.add_neuron(
//! Neuron::new(random_points(6, &mut rng), 5).expect("cannot construct neuron")
//! Neuron::new(random_points(6, &mut rng), 5))
//! );
//! let idx2 = arena.add_neuron(
//! Neuron::new(random_points(8, &mut rng), 5).expect("cannot construct neuron")
//! Neuron::new(random_points(8, &mut rng), 5))
//! );
//!
//! // get a raw score (not normalized by self-hit, no symmetry)

0 comments on commit 19261d7

Please sign in to comment.