aboutsummaryrefslogtreecommitdiff
path: root/projectionobserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'projectionobserver.cpp')
-rw-r--r--projectionobserver.cpp2
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;