We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca591c7 commit 0780ef2Copy full SHA for 0780ef2
core/PhysiCell_cell.cpp
@@ -3485,7 +3485,7 @@ void Cell::remove_self_from_attackers( void )
3485
#pragma omp parallel for
3486
for (int j=0; j < all_cells->size(); j++)
3487
{
3488
- if (j != index && (*all_cells)[j]->phenotype.cell_interactions.pAttackTarget != NULL && (*all_cells)[j]->phenotype.cell_interactions.pAttackTarget == this) {
+ if (j != index && (*all_cells)[j]->phenotype.cell_interactions.pAttackTarget == this) {
3489
(*all_cells)[j]->phenotype.cell_interactions.pAttackTarget = NULL;
3490
}
3491
0 commit comments