On the current main branch, I feel that operator=
of Array_gpu
is not implemented correctly. It first sets this->ncells
and then checks if this->ncells == 0
to allocate memory if required. However, this well never happens since ncells
was just set beforehand:
|
else if (this->ncells == 0) |
I will fix this in a PR once I understand the Array class better.