Skip to content

Commit

Permalink
fix in sweep for binary read
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwhite79 committed Apr 30, 2024
1 parent c5b7850 commit c6df7ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/programs/sweep/pestpp-swp.vcxproj.user
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>10par_xsec.pst</LocalDebuggerCommandArguments>
<LocalDebuggerWorkingDirectory>C:\Dev\pyemu\autotest\moouu\10par_xsec\template</LocalDebuggerWorkingDirectory>
<LocalDebuggerCommandArguments>pest_forgive.pst</LocalDebuggerCommandArguments>
<LocalDebuggerWorkingDirectory>C:\Dev\pestpp\benchmarks\ies_10par_xsec\master_sweep_bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand Down
2 changes: 2 additions & 0 deletions src/programs/sweep/sweep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ int main(int argc, char* argv[])
{
cout << " --- dense binary file detected for par_csv" << endl;
fout_rec << " --- dense binary file detected for par_csv" << endl;
par_stream.close();
par_stream.open(par_csv_file, ifstream::binary);
vector<string> col_names;
header_info = prepare_parameter_dense_binary(pest_scenario.get_ctl_parameters(),par_stream,
pest_scenario.get_pestpp_options().get_sweep_forgive(),col_names);
Expand Down

0 comments on commit c6df7ed

Please sign in to comment.