Commit 537b14c8 authored by Stephan Rave's avatar Stephan Rave
Browse files

[demos] make --pickle in thermalblock_adaptive compatible with analyze_pickle

parent 23a1e1e3
Pipeline #106293 passed with stages
in 39 minutes and 50 seconds
......@@ -121,7 +121,7 @@ def main(
if pickle:
print(f"\nWriting reduced model to file {pickle}_reduced ...")
with open(pickle + '_reduced', 'wb') as f:
dump(rom, f)
dump((rom, problem.parameter_space), f)
print(f"Writing detailed model and reductor to file {pickle}_detailed ...")
with open(pickle + '_detailed', 'wb') as f:
dump((fom, reductor), f)
Markdown is supported
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