Investigate FiberList destruction
In CardiacMechanics
, upon destruction of FiberList
specialization for "AtNode" and "vector" we get an error at VecDestroy
call (not always, and the message is not always exactly the same as well).
Only vectorial case seems concerned - three scalar entries never show the behaviour.
It might be a bug in CardiacMechanics
rather from the CoreLibrary
itself, but I need to investigate to be sure. And there are some safeties that can be implemented in CoreLibrary
at any rate - there is for instance a debug variable that checks Initialize()
is called only once, and the fact I haven't be able to figure out quickly where the issue stems from indicates we can probably add more checks.