Verified Commit 280b764c authored by Houtan Bastani's avatar Houtan Bastani
Browse files

onlymodel: read estimated_params block as well

parent 7d37c35a
Pipeline #527 passed with stage
in 1 minute and 21 seconds
...@@ -987,6 +987,10 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo ...@@ -987,6 +987,10 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
auto *ss = dynamic_cast<ShocksStatement *>(statement.get()); auto *ss = dynamic_cast<ShocksStatement *>(statement.get());
if (ss != nullptr) if (ss != nullptr)
ss->writeOutput(mOutputFile, basename, minimal_workspace); ss->writeOutput(mOutputFile, basename, minimal_workspace);
auto *eps = dynamic_cast<EstimatedParamsStatement *>(statement.get());
if (eps != nullptr)
eps->writeOutput(mOutputFile, basename, minimal_workspace);
} }
else else
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment