aboutsummaryrefslogtreecommitdiff
path: root/projectionobserver.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-10 13:03:22 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-10 13:03:22 -0200
commit0e232a1db450d08a662be16279607730b049eb4d (patch)
treefe361b81cf1144db4222db4cc46f1ac21abd071d /projectionobserver.h
parented0db5c8d8ed12fa02eab5e529db60d92d78d8b2 (diff)
Fixed issue #20; also removed some unused #include.
Diffstat (limited to 'projectionobserver.h')
-rw-r--r--projectionobserver.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/projectionobserver.h b/projectionobserver.h
index db68c73..6d8b0f9 100644
--- a/projectionobserver.h
+++ b/projectionobserver.h
@@ -34,8 +34,8 @@ private:
bool emitValuesChanged() const;
int m_type;
- arma::mat m_X, m_Y, m_origY, m_prevY;
- arma::mat m_distX, m_distY, m_origDistY, m_prevDistY;
+ arma::mat m_X, m_Y, m_firstY, m_prevY;
+ arma::mat m_distX, m_distY, m_firstDistY, m_prevDistY;
arma::uvec m_cpIndices, m_rpIndices;
bool m_cpSelectionEmpty, m_rpSelectionEmpty;
@@ -46,7 +46,8 @@ private:
arma::mat m_alphas, m_influences;
// TODO: one per implemented measure
- arma::vec m_values, m_prevValues, m_origValues;
+ arma::vec m_values, m_firstValues, m_prevValues;
+ bool m_hasFirst, m_hasPrev;
};
#endif // PROJECTIONOBSERVER_H