aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CommaInitializer.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-17 14:30:01 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-12-17 14:30:01 +0000
commit89f468671dea2cc1dc37cdf75bbc7c7e56749bac (patch)
tree6c8b704fedcb168e2db20523d99dd061aabd2e88 /Eigen/src/Core/CommaInitializer.h
parent2110cca4313ebb902ca1f4f6ff0c389f743e60fc (diff)
* replace postfix ++ by prefix ++ wherever that makes sense in Eigen/
* fix some "unused variable" warnings in the tests; there remains a libstdc++ "deprecated" warning which I haven't looked much into
Diffstat (limited to 'Eigen/src/Core/CommaInitializer.h')
-rw-r--r--Eigen/src/Core/CommaInitializer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/CommaInitializer.h b/Eigen/src/Core/CommaInitializer.h
index 83cff0bca..178f5ea0f 100644
--- a/Eigen/src/Core/CommaInitializer.h
+++ b/Eigen/src/Core/CommaInitializer.h
@@ -67,7 +67,7 @@ struct CommaInitializer
ei_assert(m_col<m_matrix.cols()
&& "Too many coefficients passed to comma initializer (operator<<)");
ei_assert(m_currentBlockRows==1);
- m_matrix.coeffRef(m_row, m_col++) = s;
+ m_matrix.coeffRef(m_row, ++m_col) = s;
return *this;
}