This commit is contained in:
vdimir 2024-03-15 15:07:29 +00:00
parent 6b954fcfd4
commit 9c9a4db2de
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862

View File

@ -1001,8 +1001,11 @@ Field FieldVisitorFoldDimension::operator()(const Array & x) const
return res;
}
Field FieldVisitorFoldDimension::operator()(const Null &) const
Field FieldVisitorFoldDimension::operator()(const Null & x) const
{
if (num_dimensions_to_fold == 0)
return x;
return Array();
}