summaryrefslogtreecommitdiff
path: root/matching/include/cell_with_value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'matching/include/cell_with_value.hpp')
-rw-r--r--matching/include/cell_with_value.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/matching/include/cell_with_value.hpp b/matching/include/cell_with_value.hpp
index 88b2569..4079b1b 100644
--- a/matching/include/cell_with_value.hpp
+++ b/matching/include/cell_with_value.hpp
@@ -146,8 +146,9 @@ namespace md {
template<class Real>
void CellWithValue<Real>::set_value_at(ValuePoint vp, Real new_value)
{
- if (has_value_at(vp))
- spd::error("CellWithValue<Real>: trying to re-assign value!, this = {}, vp = {}", *this, vp);
+ if (has_value_at(vp)) {
+ std::cerr << "CellWithValue<Real>: trying to re-assign value, vp = " << vp;
+ }
switch(vp) {
case ValuePoint::upper_left :