Skip to content

Commit

Permalink
fix: make pybind use correct datatype for ControlledVoltageSource->se…
Browse files Browse the repository at this point in the history
…t_parameters

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
  • Loading branch information
n-eiling committed Jan 16, 2025
1 parent 5220ee9 commit f11153c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpsim/src/pybind/EMTComponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void addEMTPh3Components(py::module_ mEMTPh3) {
.def(py::init<std::string>())
.def(py::init<std::string, CPS::Logger::Level>())
.def("set_parameters",
py::overload_cast<CPS::MatrixComp, CPS::Real>(
py::overload_cast<CPS::Matrix>(
&CPS::EMT::Ph3::ControlledVoltageSource::setParameters),
"V_ref"_a)
.def("connect", &CPS::EMT::Ph3::ControlledVoltageSource::connect)
Expand Down

0 comments on commit f11153c

Please sign in to comment.