Skip to content

Commit 7586ba4

Browse files
author
lukas.molzberger
committed
- ref counting fix
1 parent a690519 commit 7586ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/network/aika/elements/neurons/NeuronProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public NeuronProvider(Model model, Long id, RefType rt) {
7373
assert model != null;
7474
this.model = model;
7575

76-
if(rt == null)
76+
if(rt != null)
7777
increaseRefCount(rt);
7878
}
7979

0 commit comments

Comments
 (0)