Skip to content

Commit 06927bd

Browse files
MAX_AND_NODE_SIZE = 10
1 parent 14d9a28 commit 06927bd

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/main/java/network/aika/Converter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
public class Converter {
3434

35-
public static int MAX_AND_NODE_SIZE = 6;
35+
public static int MAX_AND_NODE_SIZE = 10;
3636

3737

3838
public static Comparator<Synapse> SYNAPSE_COMP = (s1, s2) -> {

src/test/java/network/aika/network/PositionRelationTest.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,13 @@ public void testOptionalRelation() {
280280
new Relation.Builder()
281281
.setFrom(1)
282282
.setTo(1)
283-
.setRelation(new MultiRelation(
284-
new Equals(END, BEGIN, true, true),
285-
new LessThan(BEGIN, BEGIN, false, false, false, Integer.MAX_VALUE)
286-
)),
283+
.setRelation(new Equals(END, BEGIN, true, true)),
287284
new Relation.Builder()
288285
.setFrom(1)
289286
.setTo(2)
290287
.setRelation(new MultiRelation(
291288
new Equals(END, BEGIN, true, true),
292-
new LessThan(BEGIN, BEGIN, false, false, false, Integer.MAX_VALUE)
289+
new LessThan(END, END, false, false, false, Integer.MAX_VALUE)
293290
)),
294291
new Relation.Builder()
295292
.setFrom(0)

0 commit comments

Comments
 (0)