Commit d4b327e0 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

SpinOrbital: (Si.Sj)(Li.Lj)^2 yet another bug fixed

parent 77786baa
......@@ -476,6 +476,12 @@ private:
std::cerr<<"Diagonalizing full matrix of rank "<<fullm2.rows()<<"\n";
PsimagLite::diag(fullm2,eigs,'V');
std::cerr<<"eigs[0]="<<eigs[0]<<"\n";
if (options.isSet("printmatrix")) {
for (SizeType i = 0; i < eigs.size(); ++i)
std::cout<<eigs[i]<<" ";
std::cout<<"\n";
}
if (options.isSet("test"))
throw std::logic_error("Exiting due to option test in the input\n");
......
......@@ -622,7 +622,7 @@ protected:
OpForLinkType d1("d1");
sdotSlDotLSquared.push(d1, 'N', d1, 'C', valueModiferTerm2);
OpForLinkType d2("d1");
OpForLinkType d2("d2");
sdotSlDotLSquared.push(d2, 'N', d2, 'C', valueModiferTerm0);
OpForLinkType d3("d3");
......
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