diff --git a/core/base/persistenceDiagram/PersistenceDiagram.h b/core/base/persistenceDiagram/PersistenceDiagram.h index b7af9e5258..fe49c02f71 100644 --- a/core/base/persistenceDiagram/PersistenceDiagram.h +++ b/core/base/persistenceDiagram/PersistenceDiagram.h @@ -521,6 +521,7 @@ int ttk::PersistenceDiagram::executeDiscreteMorseSandwich( Timer const tm{}; const auto dim = triangulation->getDimensionality(); + dms_.setThreadNumber(this->threadNumber_); dms_.buildGradient( inputScalars, scalarsMTime, inputOffsets, *triangulation, updateMask);