Skip to content

Commit

Permalink
Merge pull request #233 from heberlr/development
Browse files Browse the repository at this point in the history
Unnecessary warning message to "exit cycle phase 2 or 3" behaviors
  • Loading branch information
MathCancer authored Jun 3, 2024
2 parents 79bc14b + e0b0006 commit a76bf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/PhysiCell_signal_behavior.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ void set_single_behavior( Cell* pCell, int index , double parameter )

// cycle entry (exit from phase 0) and exit from up to 5 more phases
static int first_cycle_index = find_behavior_index("exit from cycle phase 0" ); // 4*m;
if( index >= first_cycle_index && index < first_cycle_index+6 )
if( index >= first_cycle_index && index < first_cycle_index+6 && !pCell->phenotype.death.dead )
{
int max_cycle_index = pCell->phenotype.cycle.model().phases.size();
if( index < first_cycle_index + max_cycle_index )
Expand Down

0 comments on commit a76bf5f

Please sign in to comment.