Skip to content

Commit

Permalink
fix some compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperCodec committed Jul 8, 2024
1 parent 3fa26b8 commit 8d60a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runnable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl<const I: usize, const O: usize> NeuralNetwork<'_, I, O> {
let n = self.get_neuron(loc).unwrap();
let mut v = 0.;
for (l, w) in &n.inputs {
v += self.process_neuron(*l, &mut cache) * w;
v += self.process_neuron(*l, cache) * w;
}

v = n.activate(v);
Expand Down

0 comments on commit 8d60a19

Please sign in to comment.