Sim: Fix infinite recursion

This commit is contained in:
Mikolaj Wielgus 2022-09-28 09:06:00 +02:00
parent 7d20418d6f
commit b7c8570b2a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ std::vector<std::string> SPICE_GENERATOR_NGSPICE::CurrentNames( const std::strin
case SIM_MODEL::DEVICE_TYPE_::C:
case SIM_MODEL::DEVICE_TYPE_::L:
case SIM_MODEL::DEVICE_TYPE_::D:
return CurrentNames( aRefName );
return SPICE_GENERATOR::CurrentNames( aRefName );
default:
wxFAIL_MSG( "Unhandled model device type in SIM_MODEL_NGSPICE" );