Skip to content

Commit

Permalink
h5save: remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision authored Jul 16, 2021
1 parent 5efb20e commit fc4d0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +stdlib/+hdf5nc/h5save.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function new_file(filename, varname, A, sizeA)
error('hdf5nc:h5save:fileNotFound', '%s is not a folder, cannot create %s', folder, filename)
end

if isscalar(A) && ~isstring(A) && ~isempty(varname)
if isscalar(A) && ~isstring(A)
dcpl = 'H5P_DEFAULT';

if isfile(filename)
Expand Down

0 comments on commit fc4d0c4

Please sign in to comment.