Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use Numpy C-API version of np.float64(x) #20

Closed
kwgoodman opened this Issue · 1 comment

1 participant

@kwgoodman
Owner

The cython functions in bottleneck that return a scalar make that scalar a numpy object with dtype attribute etc by using:

>>> np.float64(x)

And similarly for other dtypes.

Is there a faster (but simple) way to do this using the Numpy C API?

@kwgoodman
Owner

The rewrite of bottleneck no longer returns np.float64(x). It just returns x instead.

@kwgoodman kwgoodman closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.