fixed and logic

This commit is contained in:
Martino Ferrari
2026-02-11 09:53:30 +01:00
parent 7a145d3912
commit b23b75115b

View File

@@ -310,7 +310,7 @@ bool JAMessageGAM::Execute() {
eventDetected = Compare(0, floatIndex, intIndex); eventDetected = Compare(0, floatIndex, intIndex);
for (inputPortIndex = 1; (inputPortIndex < numberOfInputSignals); for (inputPortIndex = 1; (inputPortIndex < numberOfInputSignals);
inputPortIndex++) { inputPortIndex++) {
eventDetected = Compare(inputPortIndex, floatIndex, intIndex); eventDetected &= Compare(inputPortIndex, floatIndex, intIndex);
} }
} else if (operation == Xor) { } else if (operation == Xor) {
uint32 eventDetectedUInt32 = Compare(inputPortIndex, floatIndex, intIndex); uint32 eventDetectedUInt32 = Compare(inputPortIndex, floatIndex, intIndex);