Omaha #4967 Fix a missed __numpy__ instance
Change-Id: I1cffb3479c963e62d7e5e3fedac69341f1d0e718
(cherry picked from commit 2c33406500
[formerly 12e92bcf4d828cbd449f8255a29cc2da79c0c836])
Former-commit-id: f1da20c2d5f72be6106675c6c56a4279ce890816
This commit is contained in:
parent
459011ed48
commit
bd1b652a81
1 changed files with 5 additions and 3 deletions
|
@ -27,8 +27,8 @@
|
|||
#
|
||||
# Date Ticket# Engineer Description
|
||||
# ------------ ---------- ----------- --------------------------
|
||||
# 01/14/13 njensen Initial Creation.
|
||||
#
|
||||
# 01/14/2013 #1497 njensen Initial Creation.
|
||||
# 10/12/2015 #4967 randerso Updated for new JEP API
|
||||
#
|
||||
#
|
||||
|
||||
|
@ -67,6 +67,8 @@ def __getMaskIndiciesForJava(mask):
|
|||
return xcoords, ycoords
|
||||
|
||||
|
||||
# Originally added for use by BOX SmartInitUtils.SIU_fillEditArea() to speed up their smartInits
|
||||
# Should be used by other smartInits that need similar functionality
|
||||
def fillEditArea(grid, fillMask, borderMask):
|
||||
editPointsX, editPointsY = __getMaskIndiciesForJava(fillMask)
|
||||
borderPointsX, borderPointsY = __getMaskIndiciesForJava(borderMask)
|
||||
|
@ -74,7 +76,7 @@ def fillEditArea(grid, fillMask, borderMask):
|
|||
gridObj = JavaSmartUtils.fillEditArea(grid, grid.shape[1], grid.shape[0], \
|
||||
editPointsY, editPointsX, borderPointsY, borderPointsX)
|
||||
|
||||
retObj = gridObj.__numpy__[0]
|
||||
retObj = gridObj.getNDArray()
|
||||
return retObj
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue