fangq / iso2mesh

Iso2Mesh - a 3D surface and volumetric mesh generator for MATLAB/Octave
http://iso2mesh.sf.net
Other
183 stars 73 forks source link

Fix #68 - saveinr() not working for single volumes. #69

Closed ithron closed 2 years ago

ithron commented 2 years ago

The dtype of vol was compared against float instead of 'single'. Neither Octave nor Matlab report class(vol) for single precision vol as 'float' but as 'single', instead. Changed the comparision to 'single'. This fixes issue #68.

fangq commented 2 years ago

ahh, this typo has existed since the beginning ... thanks for fixing it!