@ -26,11 +26,11 @@ class NoConvergence : public std::exception
this->maxIterations = maxIterations;
}
#else
InvalidSettings() : exception() {
NoConvergence() : exception() {
iterations = -1;
maxIterations = -1;
InvalidSettings(const char * const s, int iterations, int maxIterations): exception() {
NoConvergence(const char * const s, int iterations, int maxIterations): exception() {
this->iterations = iterations;
@ -32,7 +32,7 @@ void setVectorValues(std::vector<T>* vector, const mrmc::storage::BitVector& pos
template<class T>
void setVectorValues(Eigen::Matrix<T, -1, 1, 0, -1, 1>* eigenVector, const mrmc::storage::BitVector& positions, T value) {
for (auto position : positions) {
(*vector)(position, 0) = value;
(*eigenVector)(position, 0) = value;