Skip to content

Commit 6f3355a

Browse files
committed
Critical interaction fix #11
* Critical interaction now moves cps towards the correct aps.
1 parent 3df90c8 commit 6f3355a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SocNetABM.nlogo

+2-2
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ to evaluate-critically
330330
set actual-prob-suc th1-aps
331331
][
332332
set crit-interactions-th2 crit-interactions-th2 + 1
333+
set actual-prob-suc th2-aps
333334
]
334335
if crit-interact-lock = 0 [
335-
set crit-interact-lock crit-jump-threshold + 1
336-
set actual-prob-suc th2-aps
336+
set crit-interact-lock crit-jump-threshold + 1
337337
]
338338
let old-th-i-signal item mytheory subj-th-i-signal
339339
set subj-th-i-signal replace-item mytheory subj-th-i-signal (old-th-i-signal

0 commit comments

Comments
 (0)