Skip to content

Commit 6433f32

Browse files
committed
#24 correct p_local_threshold
1 parent 50a52aa commit 6433f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/visualization/CellPopulationPyChasteActorGenerator.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ void CellPopulationPyChasteActorGenerator<DIM>::AddPottsBasedCellPopulationActor
372372
p_local_threshold->ThresholdBetween(p_element_base_ids->GetTuple1(idx),
373373
p_element_base_ids->GetTuple1(idx));
374374
#else
375-
p_threshold->SetLowerThreshold(p_element_base_ids->GetTuple1(idx));
376-
p_threshold->SetUpperThreshold(p_element_base_ids->GetTuple1(idx));
375+
p_local_threshold->SetLowerThreshold(p_element_base_ids->GetTuple1(idx));
376+
p_local_threshold->SetUpperThreshold(p_element_base_ids->GetTuple1(idx));
377377
#endif
378378

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

0 commit comments

Comments
 (0)