Skip to content

Commit

Permalink
#24 correct p_local_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed May 17, 2024
1 parent 50a52aa commit 6433f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/visualization/CellPopulationPyChasteActorGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ void CellPopulationPyChasteActorGenerator<DIM>::AddPottsBasedCellPopulationActor
p_local_threshold->ThresholdBetween(p_element_base_ids->GetTuple1(idx),
p_element_base_ids->GetTuple1(idx));
#else
p_threshold->SetLowerThreshold(p_element_base_ids->GetTuple1(idx));
p_threshold->SetUpperThreshold(p_element_base_ids->GetTuple1(idx));
p_local_threshold->SetLowerThreshold(p_element_base_ids->GetTuple1(idx));
p_local_threshold->SetUpperThreshold(p_element_base_ids->GetTuple1(idx));
#endif

p_local_threshold->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_CELLS, "Cell Base Id");
Expand Down

0 comments on commit 6433f32

Please sign in to comment.