From 5370690b0a322f05fa07ade1107ffa8c2714a30b Mon Sep 17 00:00:00 2001 From: piyushrpt Date: Sun, 26 Jul 2020 18:22:47 -0700 Subject: [PATCH] Pulling in PR #153 --- contrib/stack/stripmapStack/invertMisreg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/stack/stripmapStack/invertMisreg.py b/contrib/stack/stripmapStack/invertMisreg.py index 6e85c9e..f6e7000 100755 --- a/contrib/stack/stripmapStack/invertMisreg.py +++ b/contrib/stack/stripmapStack/invertMisreg.py @@ -71,7 +71,7 @@ def extract_offset(filename): azCoefs = np.array(azpoly.getCoeffs()) rgCoefs = np.array(rgpoly.getCoeffs()) - return azCoefs.flatten(0), rgCoefs.flatten(0) + return azCoefs.flatten(), rgCoefs.flatten() def getPolyInfo(filename): with shelve.open(os.path.join(filename,'misreg'),flag='r') as db: