Skip to content

Commit 48c600e

Browse files
Removed the generics!
1 parent 293a5c5 commit 48c600e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fields/src/test/java/network/aika/fields/softmax/SoftmaxNormObj.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import static network.aika.fields.softmax.SoftmaxInputType.CORRESPONDING_OUTPUT_LINK;
2929
import static network.aika.fields.softmax.SoftmaxInputType.INPUT_TO_NORM;
3030
import static network.aika.fields.softmax.SoftmaxNormType.NORM_TO_INPUT;
31+
import static network.aika.fields.softmax.SoftmaxNormType.NORM_TO_OUTPUT;
3132

3233
/**
3334
*
@@ -54,7 +55,7 @@ public static void linkObjects(SoftmaxInputObj[] inputsObjs, SoftmaxNormObj norm
5455
public Stream<Obj> followManyRelation(Relation rel) {
5556
if(rel == NORM_TO_INPUT)
5657
return getInputs().map(o -> o) ;
57-
else if(rel == CORRESPONDING_OUTPUT_LINK)
58+
else if(rel == NORM_TO_OUTPUT)
5859
return getOutputs().map(o -> o) ;
5960
else
6061
throw new RuntimeException("Invalid Relation");

0 commit comments

Comments
 (0)