Skip to content

Conversation

@wusixer
Copy link

@wusixer wusixer commented May 6, 2018

fiexed "ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' " error caused by

prob_grid = prob_grid[(np.sum(prob_grid, axis=1) > 1.) & np.sum(prob_grid, axis=1) < 0]

when passing in user defined grid_file. In the above code, the 'bitwise_and' was not comparing values of the same type.

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.

1 participant