Skip to content
Unverified Commit c6377f93 authored by Martin Eek Gerhardsen's avatar Martin Eek Gerhardsen Committed by GitHub
Browse files

Changed to using the is_nan() method (#30)

Changed the possibly misleading / confusing boolean check
for checking if a variable is NaN from 'self != self'
to 'self.is_nan()' for inv functions for ComplexField for
c32, c64, and Complex<E>. Under the hood, is_nan() is
still using the 'self != self' check, however this should
now only appear in that definition, and should cause less
confusion.
parent aa96a6a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment