Skip to content

Commit

Permalink
Remove deprecated np.complex alias in ImageLib (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhkennedy committed Dec 20, 2022
1 parent bb4d3b5 commit 60a021d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/isceobj/Util/ImageUtil/ImageLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@

#######Current list of constants
constDict = { "PI" : np.pi,
"J" : np.complex(0.0, 1.0),
"I" : np.complex(0.0, 1.0),
"J" : 1j,
"I" : 1j,
"E" : np.exp(1.0),
"NAN" : np.nan,
"ROW" : None,
Expand Down

0 comments on commit 60a021d

Please sign in to comment.