Remove deprecated np.complex alias in ImageLib (#639)

LT1AB
Joseph H Kennedy 2022-12-19 19:30:36 -09:00 committed by GitHub
parent bb4d3b545b
commit 60a021de43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ fnDict = { 'cos': np.cos,
#######Current list of constants #######Current list of constants
constDict = { "PI" : np.pi, constDict = { "PI" : np.pi,
"J" : np.complex(0.0, 1.0), "J" : 1j,
"I" : np.complex(0.0, 1.0), "I" : 1j,
"E" : np.exp(1.0), "E" : np.exp(1.0),
"NAN" : np.nan, "NAN" : np.nan,
"ROW" : None, "ROW" : None,