Skip to content

Commit 1d42c84

Browse files
committed
Improved calling semantics for MappedTensor/size
1 parent a524863 commit 1d42c84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MappedTensor.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ function delete(mtVar)
514514
end
515515

516516
% - Return the specified dimension(s)
517+
vnSize(end+1:max(vnDimensions)) = 1;
517518
vnSize = vnSize(vnDimensions);
518519
end
519520

0 commit comments

Comments
 (0)