mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 18:20:14 +01:00
[poincare] Register Static Allocation Failure if required
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Poincare {
|
||||
template<typename T>
|
||||
MatrixComplexNode<T> * MatrixComplexNode<T>::FailedAllocationStaticNode() {
|
||||
static AllocationFailureMatrixComplexNode<T> failure;
|
||||
TreePool::sharedPool()->registerStaticNodeIfRequired(&failure);
|
||||
return &failure;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user