Skip to content

Commit

Permalink
Astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
siuwuncheung committed Mar 7, 2024
1 parent d774492 commit 6d4f7e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/misc/combine_samples.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ int main(int argc, char* argv[])

if (rank==0) std::cout << "Loading data from " << kind << std::endl;
for(const auto& sample_name: sample_names) {
static_basis_generator->loadSampleRange(sample_name, kind, col_min-1, col_max-1);
static_basis_generator->loadSampleRange(sample_name, kind, col_min-1,
col_max-1);
}

if (rank==0) std::cout << "Saving data uploaded as a snapshot matrix" <<
Expand Down
3 changes: 2 additions & 1 deletion lib/linalg/BasisGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ BasisGenerator::finalSummary(

if (!reached_cutoff) cutoff = sing_vals->dim();
*output_stream << std::fixed << std::setprecision(p+1);
*output_stream << "For energy fraction: " << 1.0 - energyFractionThreshold << ", take first "
*output_stream << "For energy fraction: " << 1.0 - energyFractionThreshold <<
", take first "
<< cutoff << " of " << sing_vals->dim() << " basis vectors" << std::endl;

if (!cutoffOutputPath.empty()) {
Expand Down

0 comments on commit 6d4f7e5

Please sign in to comment.