Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: numpy raised TypeError: Cannot cast ufunc add output from dt…
…ype('complex128') to dtype('float64') with casting rule 'same_kind' Solution: use numpy.add(x,y,out=x, casting='unsafe') to cast from complex to float if necessary
- Loading branch information