Commit 62774a96 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

Heisenberg: bug fix for field in x direction

parent 110676ec
......@@ -442,7 +442,7 @@ private:
": Anisotropic sub-model CANNOT be canonical. Please " +
"delete the TargetSzPlusConst= from the input file\n");
if (isCanonical && modelParameters_.magneticFieldDirection != "z")
if (isCanonical && modelParameters_.magneticFieldDirection == "x")
err(PsimagLite::String(__FILE__) +
": magneticFieldDirection == x CANNOT be canonical. Please " +
"delete the TargetSzPlusConst= from the input file\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment