We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fbcfc2 commit 74e24c5Copy full SHA for 74e24c5
1 file changed
core/PhysiCell_cell.cpp
@@ -3464,7 +3464,10 @@ void Cell::remove_all_spring_attachments( void )
3464
pC->state.spring_attachments.begin(),pC->state.spring_attachments.end(),this );
3465
if ( SearchResult != pC->state.spring_attachments.end() )
3466
{
3467
- std::cout << "Cell " << pC->ID << " still has cell " << this->ID << " as a spring attachment!" << std::endl;
+ #pragma omp critical
3468
+ {
3469
+ std::cout << "Cell " << pC->ID << " still has cell " << this->ID << " as a spring attachment!" << std::endl;
3470
+ }
3471
pC->state.spring_attachments.erase( SearchResult );
3472
}
3473
0 commit comments