Skip to content

Commit

Permalink
output points are not necessarily 2d
Browse files Browse the repository at this point in the history
  • Loading branch information
lpattelli authored May 14, 2021
1 parent 8ac8cec commit 1019aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/celes_output.m
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
function validatePropertiesImpl(obj)
try validateattributes(obj.fieldPoints,{'numeric'},{'real','nonnan','finite','2d','ncols',3})
catch e, error('invalid fieldPoints array: %s', e.message); end
try validateattributes(obj.fieldPointsArrayDims,{'numeric'},{'integer','finite','nonnan','numel',2})
try validateattributes(obj.fieldPointsArrayDims,{'numeric'},{'integer','finite','nonnan'})
catch e, error('invalid fieldPointsArrayDims values: %s', e.message); end
end
end
Expand Down

0 comments on commit 1019aec

Please sign in to comment.