Loading src/PsimagLite.cpp +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,15 @@ namespace PsimagLite { SizeType integerDivision(SizeType a, SizeType b) { if ((a % b) != 0) { throw RuntimeError("integerDivision: failed\n"); } return a/b; } std::ostream& operator<<(std::ostream& os,const std::pair<SizeType,SizeType>& p) { os<<p.first<<" "<<p.second<<" "; Loading src/PsimagLite.h +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ namespace PsimagLite { SizeType integerDivision(SizeType a, SizeType b); std::ostream& operator<<(std::ostream&,const std::pair<SizeType,SizeType>&); std::istream& operator>>(std::istream&,std::pair<SizeType,SizeType>&); Loading Loading
src/PsimagLite.cpp +9 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,15 @@ namespace PsimagLite { SizeType integerDivision(SizeType a, SizeType b) { if ((a % b) != 0) { throw RuntimeError("integerDivision: failed\n"); } return a/b; } std::ostream& operator<<(std::ostream& os,const std::pair<SizeType,SizeType>& p) { os<<p.first<<" "<<p.second<<" "; Loading
src/PsimagLite.h +2 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ namespace PsimagLite { SizeType integerDivision(SizeType a, SizeType b); std::ostream& operator<<(std::ostream&,const std::pair<SizeType,SizeType>&); std::istream& operator>>(std::istream&,std::pair<SizeType,SizeType>&); Loading