From 04455860fcd55423264a2dabbf6873da312aa4c0 Mon Sep 17 00:00:00 2001 From: thomas Date: Thu, 12 Dec 2024 17:33:35 +0100 Subject: [PATCH] fix for persistence diagram multi-threading with DMS --- core/base/persistenceDiagram/PersistenceDiagram.h | 1 + 1 file changed, 1 insertion(+) 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);