Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for double scalar conversion error. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcflan
Copy link

@mcflan mcflan commented Mar 31, 2014

This is a potential fix for Issue 8 (which I raised.)

@moble
Copy link

moble commented Oct 15, 2014

A little lower down, there are a couple related errors; they're just a little too far for me to be able to comment directly on the diff, so I'll just show it here. The two lines

MAKE_CT_TO_QUATERNION(CFLOAT, npy_uint32);
MAKE_CT_TO_QUATERNION(CDOUBLE, npy_uint64);

should be

MAKE_CT_TO_QUATERNION(CFLOAT, npy_float);
MAKE_CT_TO_QUATERNION(CDOUBLE, npy_double);

They should just be npy_float and npy_double since the macro treats the input as arrays of those types, rather than actual composite complex objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants