Skip to content

Commit 8a9f5f7

Browse files
committed
remove unused typeS
1 parent 21f6986 commit 8a9f5f7

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

+stdlib/h5save.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
% * varname: variable name to save
99
% * A: data to write
1010
% * opts.size: variable shape -- helps write scalar or vectors especially
11-
% * opts.type: class of variable e.g. int32, float32
11+
% * opts.type: class of variable e.g. int32, single
1212
%
1313
% The shape of the dataset can be controlled by specifying the "size" argument.
1414
% This is particularly useful when writing HDF5 files to be used in other programming languages where dimensional shapes are important.

+stdlib/ncsave.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
% * varname: variable name to save
99
% * A: data to write
1010
% * opts.dims: name and size of dimensions
11-
% * opts.type: class of variable e.g. int32, float32
11+
% * opts.type: class of variable e.g. int32, single
1212

1313
function ncsave(filename, varname, A, opts)
1414
arguments

test/TestHDF5.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ function test_coerce(tc, type)
188188

189189
switch type
190190
case "string", vt = 'char';
191-
case "float64", vt = 'double';
192-
case "float32", vt = 'single';
193191
otherwise, vt = type;
194192
end
195193

0 commit comments

Comments
 (0)