fixed: clear additional functions in clearProperties
this is necessary to not register multiple functions if used in adaptive simulations
This commit is contained in:
parent
cadcefb454
commit
e3d3b526e8
@ -52,6 +52,9 @@ SIMoutput::~SIMoutput ()
|
|||||||
void SIMoutput::clearProperties ()
|
void SIMoutput::clearProperties ()
|
||||||
{
|
{
|
||||||
myPoints.clear();
|
myPoints.clear();
|
||||||
|
for (std::pair<const std::string,RealFunc*>& func : myAddScalars)
|
||||||
|
delete func.second;
|
||||||
|
myAddScalars.clear();
|
||||||
this->SIMinput::clearProperties();
|
this->SIMinput::clearProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user