summaryrefslogtreecommitdiff
path: root/examples/src/models/potts/symmetric.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/models/potts/symmetric.hpp')
-rw-r--r--examples/src/models/potts/symmetric.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/src/models/potts/symmetric.hpp b/examples/src/models/potts/symmetric.hpp
index 8636f15..bc8673f 100644
--- a/examples/src/models/potts/symmetric.hpp
+++ b/examples/src/models/potts/symmetric.hpp
@@ -36,6 +36,7 @@ class symmetric_t : public std::array<q_t, q> {
}
}
+ printf("Your spin wasn't a valid state!", s.x);
exit(EXIT_FAILURE);
}