From 2242fd6f8b7f16b706d49a2288da3aa20f12314b Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 13 Feb 2020 15:00:31 -0500 Subject: Added gitignore and fixed Ising to work with new paradigm --- spin.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spin.hpp') diff --git a/spin.hpp b/spin.hpp index d4d39cc..bb8369b 100644 --- a/spin.hpp +++ b/spin.hpp @@ -7,5 +7,7 @@ template class Spin { public: Vector x; S s; + + Spin() { x = Vector::Zero(); } }; -- cgit v1.2.3-54-g00ecf