Skip to content

Commit f59ab58

Browse files
committed
Fix crash on cluster and point mismatch
1 parent de2ad83 commit f59ab58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ScatterplotPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ void ScatterplotPlugin::loadColors(const Dataset<Clusters>& clusters)
825825
}
826826

827827
}
828-
else
828+
else if(globalIndices.size() == _numPoints)
829829
{
830830
// Loop over all clusters and populate global colors
831831
for (const auto& cluster : clusterVec)

0 commit comments

Comments
 (0)