Skip to content

Commit 21d28fe

Browse files
author
Martin D. Weinberg
committed
Output log changes for ortho test results only
1 parent 33ba378 commit 21d28fe

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

expui/BiorthBasis.H

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,11 @@ namespace BasisClasses
841841
bool orthoTest()
842842
{
843843
auto [ret, worst, lworst] = orthoCompute(sl->orthoCheck());
844-
// For the CTest log
845-
std::cout << "---- Cylindrical::orthoTest: worst=" << worst << std::endl;
844+
if (myid==0) {
845+
// For the CTest log
846+
std::cout << "---- Cylindrical::orthoTest: worst=" << worst
847+
<< std::endl;
848+
}
846849
return ret;
847850
}
848851
};

exputil/orthoTest.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ void orthoTest(const std::vector<Eigen::MatrixXd>& tests,
8181
} else {
8282
// Success message
8383
if (myid==0)
84-
std::cout << classname + ": biorthogonal check passed" << std::endl;
84+
std::cout << "---- " << classname + ": biorthogonal check passed"
85+
<< std::endl;
8586
}
8687
}

0 commit comments

Comments
 (0)