Skip to content

Commit

Permalink
Missing processors.
Browse files Browse the repository at this point in the history
Signed-off-by: Bertrand Rix <[email protected]>
  • Loading branch information
obrix committed Sep 25, 2024
1 parent 3e1140b commit 2e711a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/powsybljl-cpp/powsybl_jl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ JLCXX_MODULE define_module_powsybl(jlcxx::Module& mod)

mod.method("load", [] (std::string const& s) {
std::map<std::string, std::string> defaultParameters;
pypowsybl::JavaHandle network = pypowsybl::loadNetwork(s, defaultParameters, nullptr);
std::vector<std::string> postProcessors;
pypowsybl::JavaHandle network = pypowsybl::loadNetwork(s, defaultParameters, postProcessors, nullptr);
return network;
}, "Load a network from a file");

Expand Down

0 comments on commit 2e711a8

Please sign in to comment.