Skip to content

Commit 2f4de20

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 8ed084a + fc11012 commit 2f4de20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/network/aika/neuron/activation/Activation.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,9 @@ private Activation getInputExcitatoryActivation() {
677677

678678

679679
private Link getStrongestLink() {
680+
if(inputLinks.size() == 1) {
681+
return inputLinks.firstEntry().getValue();
682+
}
680683
return inputLinks
681684
.values()
682685
.stream()

0 commit comments

Comments
 (0)