Skip to content

Commit 68e7956

Browse files
aaraneyhellkite500PhilMiller
authored
fix: nexus csv output buffering (NOAA-OWP#945)
* fix: don't line buffer nexus outputs Co-authored-by: hellkite500 <nfrazier@lynker.com> Co-authored-by: Phil Miller - NOAA <pmiller@lynker.com>
1 parent 73773cb commit 68e7956

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/SurfaceLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void ngen::SurfaceLayer::update_models()
3838
double contribution_at_t = features.nexus_at(id)->get_downstream_flow(cat_id, current_time_index, 100.0);
3939

4040
if(nexus_outfiles[id].is_open()) {
41-
nexus_outfiles[id] << current_time_index << ", " << current_timestamp << ", " << contribution_at_t << std::endl;
41+
nexus_outfiles[id] << current_time_index << ", " << current_timestamp << ", " << contribution_at_t << "\n";
4242
}
4343

4444
#if NGEN_WITH_MPI

0 commit comments

Comments
 (0)