aboutsummaryrefslogtreecommitdiff
path: root/voronoisplat.cpp
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-04-12 23:35:46 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2016-04-12 23:35:46 -0300
commit11a58ca2c92fc3c44daa1643fbc5148bf96b407c (patch)
treebc019f02f1ee93f0788b16f422181e55761a597a /voronoisplat.cpp
parent7d2b578c068d4e78250884c576c892b0a609d789 (diff)
BarChart, Scatterplot, VoronoiSplat: removed unnecessary resize()s.
Diffstat (limited to 'voronoisplat.cpp')
-rw-r--r--voronoisplat.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/voronoisplat.cpp b/voronoisplat.cpp
index 15bb9bd..3e21e67 100644
--- a/voronoisplat.cpp
+++ b/voronoisplat.cpp
@@ -48,7 +48,6 @@ void VoronoiSplat::setSites(const arma::mat &points)
if (m_values.size() > 0 && m_values.size() != points.n_rows) {
// Old values are no longer valid, clean up
- m_values.resize(points.n_rows);
m_values.assign(points.n_rows, 0);
}