Allow strict casting #38

wants to merge 2 commits into

3 participants


This fixes a bug in netcdf, and tweaks ndimage so that it will work with a tighter default casting policy in NumPy. The errors are discussed here:

Mark Wiebe added some commits Jun 15, 2011
Mark Wiebe BUG: netcdf: was treating the NumPy typecode as if it were a NumPy kind
Typecodes are always one character, and kinds are added with a size.
'd' is the same as 'f8', for example. The code was producing 'd8',
which is invalid.
Mark Wiebe ENH: ndimage: specify unsafe casting so the default in NumPy can be t…
SciPy member

Looks OK to me.

SciPy member

Tested with 1.6.1rc2 and 2.0.0-latest and committed. Thanks Mark.

@rgommers rgommers closed this Jul 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment