diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-20 12:55:12 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-20 12:55:12 +0100 |
commit | b019d016da8c645fcc581dd170df821c4fec079c (patch) | |
tree | bbb389712721acac15bd8e0700de7d8f21c76009 /projectionobserver.cpp | |
parent | 5f7064cd55ff01b24d435d2700bd4a4f8a12d273 (diff) |
ProjectionObserver: fixed the diff to prev values.
Diffstat (limited to 'projectionobserver.cpp')
-rw-r--r-- | projectionobserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projectionobserver.cpp b/projectionobserver.cpp index e500755..262332d 100644 --- a/projectionobserver.cpp +++ b/projectionobserver.cpp @@ -58,7 +58,7 @@ bool ProjectionObserver::setType(int type) void ProjectionObserver::setMap(const arma::mat &Y) { // update previous map - if (m_prevY.n_elem == 0 && m_Y.n_elem > 0) { + if (m_Y.n_elem > 0) { m_prevY = m_Y; m_prevDistY = m_distY; m_prevValues = m_values; |