Previous attempted bug correction hit a hitch closing #113. I checked the domain error and divide by zero error rather than 1e-12 range since elements can still be greater than 1e-12 and fall into those fail conditions. However numpy just accepted nan as an answer without throwing an error for the fallback code. The new fix uses fallback code if the value is nan.
Closes #113 Closes #71 Closes #95 Closes #94
Previous attempted bug correction hit a hitch closing #113. I checked the domain error and divide by zero error rather than 1e-12 range since elements can still be greater than 1e-12 and fall into those fail conditions. However numpy just accepted
nan
as an answer without throwing an error for the fallback code. The new fix uses fallback code if the value isnan
.