Skip to content

Commit 35baec4

Browse files
Merge pull request #15 from zinkkkk/master
Correctly outputs problem precision
2 parents 68710ff + 764c164 commit 35baec4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cfemm/esolver/esolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,8 @@ bool ESolver::runSolver(bool verbose)
671671
std::string stats = "Problem Statistics:\n";
672672
stats += to_string(NumNodes) + " nodes\n";
673673
stats += to_string(NumEls) + " elements\n";
674-
stats += "Precision: " + to_string(Precision) + "\n";
675674
PrintMessage(stats.c_str());
675+
std::cout << "Precision: " << Precision << "\n";
676676
}
677677

678678
CBigLinProb L;

cfemm/fsolver/fsolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,8 +1238,8 @@ bool FSolver::runSolver(bool verbose)
12381238
std::string stats = "Problem Statistics:\n";
12391239
stats += to_string(NumNodes) + " nodes\n";
12401240
stats += to_string(NumEls) + " elements\n";
1241-
stats += "Precision: " + to_string(Precision) + "\n";
12421241
PrintMessage(stats.c_str());
1242+
std::cout << "Precision: " << Precision << "\n";
12431243
}
12441244

12451245
if (Frequency == 0)

cfemm/hsolver/hsolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,8 +882,8 @@ bool HSolver::runSolver(bool verbose)
882882
std::string stats = "Problem Statistics:\n";
883883
stats += to_string(NumNodes) + " nodes\n";
884884
stats += to_string(NumEls) + " elements\n";
885-
stats += "Precision: " + to_string(Precision) + "\n";
886885
PrintMessage(stats.c_str());
886+
std::cout << "Precision: " << Precision << "\n";
887887
}
888888

889889
CBigLinProb L;

0 commit comments

Comments
 (0)