You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with doing this is that you end up with lots of conditionals in your loops. For example, in a sum() you have to test if each element isnan() which will slow things down. Alternative is to first scan through to see if there are any nans, then loop to accumulate with isnan testing only if necessary.
Currently, the NaNs are acted on, which is probably not what one wants in a computation.
The text was updated successfully, but these errors were encountered: