Procházet zdrojové kódy

[Fix] Spelling bugfix

Yizhou Chen před 2 roky
rodič
revize
38a779cffd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tools/utils/raster.py

+ 1 - 1
tools/utils/raster.py

@@ -182,7 +182,7 @@ class Raster:
             xsize = self.width - xoff
             xsize = self.width - xoff
         if yoff + ysize > self.height:
         if yoff + ysize > self.height:
             ysize = self.height - yoff
             ysize = self.height - yoff
-        ima = self._getAarray([int(xoff), int(yoff), int(xsize), int(ysize)])
+        ima = self._getArray([int(xoff), int(yoff), int(xsize), int(ysize)])
         h, w = ima.shape[:2] if len(ima.shape) == 3 else ima.shape
         h, w = ima.shape[:2] if len(ima.shape) == 3 else ima.shape
         if self.bands != 1:
         if self.bands != 1:
             tmp = np.zeros(
             tmp = np.zeros(