Skip to content

Commit

Permalink
Fixing warning that is turning into error with VS2022
Browse files Browse the repository at this point in the history
  • Loading branch information
3dJan committed Oct 7, 2023
1 parent fb12a21 commit 87d17a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Model/Classes/NMR_ModelImplicitFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<NMR::GraphID>(i));
}

std::unordered_map<GraphID, std::vector<GraphID>> graph;
Expand Down

0 comments on commit 87d17a0

Please sign in to comment.