diff --git a/Source/Model/Classes/NMR_ModelImplicitFunction.cpp b/Source/Model/Classes/NMR_ModelImplicitFunction.cpp index 8f71a00a9..48b35cf05 100644 --- a/Source/Model/Classes/NMR_ModelImplicitFunction.cpp +++ b/Source/Model/Classes/NMR_ModelImplicitFunction.cpp @@ -247,7 +247,7 @@ namespace NMR // Assign an id to each node for (size_t i = 0; i < m_nodes->size(); ++i) { - (*m_nodes)[i]->setGraphID(i); + (*m_nodes)[i]->setGraphID(static_cast(i)); } std::unordered_map> graph;