Open blegouix opened 3 days ago
Thanks for the report and the fix, I can reproduce this compilation bug. I don't really understand what is happening looking at the error fatal error: call to implicitly-deleted default constructor of
. I would like to understand it before merging. If you already have an explanation can you share ?
My understanding is that it is not allowed to default construct a mdspan of dynamic rank 0, see https://en.cppreference.com/w/cpp/container/mdspan/mdspan.
Okay! I have no more information about it
Calling
ChunkSpan::operator[]
on an element with same dimensions as the domain on which theChunkSpan
is defined should return aChunkSpan
on an empty domainDiscreteDomain<>
. However it currently triggers the compilation error:Not sure if the proposed patch is the best solutions though.