File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/network/aika Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,8 +215,8 @@ private void initInputNodesAndComputeWeightSums() {
215215 sumDelta [s .isRecurrent ? RECURRENT : DIRECT ][s .getNewWeight () <= 0.0 ? NEGATIVE : POSITIVE ] += (s .limit + s .limitDelta ) * s .getNewWeight ();
216216
217217 if (in .isPassiveInputNeuron () && !s .isNegative ()) {
218- posPassiveSumDelta + = !s .isNegative () ? (( s .limit + s . limitDelta ) * s .getNewWeight () ) : 0.0 ;
219- posPassiveSumDelta - = s .getNewWeight () > 0.0 ? (s .limit * s .weight ) : 0.0 ;
218+ posPassiveSumDelta - = !s .isNegative () ? (s .limit * s .weight ) : 0.0 ;
219+ posPassiveSumDelta + = s .getNewWeight () > 0.0 ? (( s .limit + s . limitDelta ) * s .getNewWeight () ) : 0.0 ;
220220 }
221221
222222 if (s .isConjunction (false , true ) && !s .isConjunction (true , true )) {
You can’t perform that action at this time.
0 commit comments