Skip to content

Conversation

@paquiteau
Copy link
Contributor

np.float32 are not float for isinstance, let's use a more generic checking.

np.float32 are not float for isinstance, let's use a more generic checking.
@paquiteau paquiteau requested a review from chaithyagr February 22, 2025 18:23
Copy link
Contributor

@chaithyagr chaithyagr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm , but I'm curious what type do you have that numbers.Real can convert it and not 'float'…?

@paquiteau
Copy link
Contributor Author

Well typically np.float32 are not Python float (which are np.float64, or double)

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