ladisk / pyuff

This module defines an UFF class to manipulate with the UFF (Universal File Format) files.
Other
58 stars 40 forks source link

ENH: force_double to control double/single precision of writing data #73

Closed jankoslavic closed 1 year ago

jankoslavic commented 1 year ago

When pyuff was initially written, the single precision of dataset 58 was seen as bad practice (and still is today). Due to this it was hard coded that dataset 58 was always written with double_precision. With this PR the single/double precision in dataset 58 is controlled with the parameter force_double which is by default True.