Skip to content

Commit d5e8153

Browse files
committed
enforce correct size spec type
1 parent 0c72e9c commit d5e8153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+hdf5nc/h5save.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function h5save(filename, varname, A, opts)
77
filename (1,1) string
88
varname (1,1) string
99
A {mustBeNonempty}
10-
opts.size (1,:) {mustBeInteger,mustBeNonnegative} = []
10+
opts.size (1,:) double {mustBeInteger,mustBeNonnegative} = []
1111
opts.type string = string.empty
1212
end
1313

0 commit comments

Comments
 (0)