diff --git a/components/isceobj/Util/ImageUtil/ImageLib.py b/components/isceobj/Util/ImageUtil/ImageLib.py index 8e6524d..17a04c1 100755 --- a/components/isceobj/Util/ImageUtil/ImageLib.py +++ b/components/isceobj/Util/ImageUtil/ImageLib.py @@ -67,8 +67,8 @@ fnDict = { 'cos': np.cos, #######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,