Skip to content

Commit 4f265bf

Browse files
authored
Merge pull request #316 from icyphy/distributed-cycles
Distributed cycles
2 parents 716d0eb + fdb5bed commit 4f265bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.lflang/src/lib/Python/pythontarget.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ PyObject* convert_C_action_to_py(void* action) {
909909

910910
// Fill in the Python action struct
911911
((generic_action_capsule_struct*)cap)->action = capsule;
912-
((generic_action_capsule_struct*)cap)->is_present = trigger->is_present;
912+
((generic_action_capsule_struct*)cap)->is_present = trigger->status;
913913

914914
// If token is not initialized, that is all we need to set
915915
if (trigger->token == NULL) {

0 commit comments

Comments
 (0)