summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-11-21 23:48:32 -0600
committersanine <sanine.not@pm.me>2023-11-21 23:48:32 -0600
commit8fb358e84770f69606f7f27c40cfdf0ce57cd026 (patch)
tree89652659b124f3112d12645cda5da31d2669d3c8 /test
parent435c52c7330bcd49328a8facfc5a11b00e4a41bf (diff)
fix warnings and bug in connectNeurons
Diffstat (limited to 'test')
-rw-r--r--test/MindTest.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MindTest.hs b/test/MindTest.hs
index efa79ef..d8b63cf 100644
--- a/test/MindTest.hs
+++ b/test/MindTest.hs
@@ -57,7 +57,7 @@ networkTests = testGroup "network tests" $
@?= Nothing
, testCase "output sink out of range" $
let network = Network 3 [[], []] [[]]
- in (connectNeurons network (Input 0) (Output 4) (negate 1.0))
+ in (connectNeurons network (Input 0) (Output 1) (negate 1.0))
@?= Nothing
-- network computations