Skip to content

Commit c9d909b

Browse files
committed
Fixes for rebasing IncludeInSynthesis
1 parent 7e59dd3 commit c9d909b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

palace/utils/iodata_concretize.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ void ConcretizeBoundaries(const config::BoundaryData &boundaries, json &j_bounda
302302
{"Ls", lp.Ls},
303303
{"Cs", lp.Cs},
304304
{"Excitation", lp.excitation},
305-
{"Active", lp.active}});
305+
{"Active", lp.active},
306+
{"IncludeInSynthesis", lp.include_in_synthesis}});
306307
}
307308
}
308309

test/unit/test-romoperator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ TEST_CASE_METHOD(palace::test::SharedTempDir,
807807
setup_json["Solver"]["Linear"] = {
808808
{"Type", "Default"}, {"KSPType", "GMRES"}, {"MaxIts", 200}, {"Tol", 1.0e-8}};
809809

810-
IoData iodata(std::move(setup_json));
810+
IoData iodata(setup_json, false);
811811

812812
// The flag is parsed onto the config struct.
813813
const auto &cfg_ports = iodata.boundaries.lumpedport;
@@ -863,6 +863,6 @@ TEST_CASE("RomOperator-Synthesis-ExcludedExcitedRejected", "[romoperator][Serial
863863
{"MaxFreq", 32.0},
864864
{"FreqStep", 1.0}}}};
865865

866-
CHECK_THROWS_WITH(IoData{std::move(setup_json)},
866+
CHECK_THROWS_WITH((IoData{setup_json, false}),
867867
Catch::Matchers::ContainsSubstring("IncludeInSynthesis"));
868868
}

0 commit comments

Comments
 (0)