Commits

Robert Smith committed bcd4a9c

Iterate over the neuron list (not a vector).

Comments (0)

Files changed (1)

neural-network.lisp

   layers)
 
 (defun fire-network (net inputs)
-  (loop :for layer :across (neural-network-layers net)
+  (loop :for layer :in (neural-network-layers net)
         :for outputs := (layer-output layer inputs)
           :then (layer-output layer outputs)
         :finally (return outputs)))