Commit 3e880bc5 authored by Niklas Eiling's avatar Niklas Eiling
Browse files

fix heap overflow in MNASolverFactory


Signed-off-by: Niklas Eiling's avatarNiklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
parent 875f558c
......@@ -55,7 +55,7 @@ class MnaSolverFactory {
static std::shared_ptr<MnaSolver<VarType>> factory(String name,
CPS::Domain domain = CPS::Domain::DP,
CPS::Logger::Level logLevel = CPS::Logger::Level::info,
MnaSolverImpl implementation = *mSupportedSolverImpls().end())
MnaSolverImpl implementation = mSupportedSolverImpls().back())
{
switch(implementation) {
case MnaSolverImpl::EigenDense:
......
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