aboutsummaryrefslogtreecommitdiff
path: root/interactionhandler.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-05-22 12:17:09 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-05-22 12:17:09 -0300
commit49b32975e9963de01b2ecc102b95488e4fdbf975 (patch)
tree7ea80fa21e515dbdbc1b239e09c8608fc6f527cd /interactionhandler.h
parente8bb632cae4e7c9a320a3412cbd487f859ae104c (diff)
Optimized InteractionHandler to minimze allocations; view updates now happen whenever a point is moved.
Diffstat (limited to 'interactionhandler.h')
-rw-r--r--interactionhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interactionhandler.h b/interactionhandler.h
index 3dbeb8a..5468dab 100644
--- a/interactionhandler.h
+++ b/interactionhandler.h
@@ -24,7 +24,7 @@ public slots:
void setSubsample(const arma::mat &Ys);
private:
- arma::mat m_X;
+ arma::mat m_X, m_Y;
arma::vec m_labels;
arma::uvec m_sampleIndices;
InteractiveTechnique m_technique;