Changeset 27525


Ignore:
Timestamp:
01/19/23 04:22:59 (2 years ago)
Author:
bdef
Message:

BUG: shape issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/geometry/slope.py ΒΆ

    r24254 r27525  
    3434
    3535    summation = np.array([[1], [1], [1]])
    36     sx = np.dot(surf[index - 1, 0] * alpha, summation).reshape(-1, )
    37     sy = np.dot(surf[index - 1, 0] * beta, summation).reshape(-1, )
     36    sx = np.dot(surf[index - 1] * alpha, summation).reshape(-1, )
     37    sy = np.dot(surf[index - 1] * beta, summation).reshape(-1, )
    3838
    3939    s = np.sqrt(sx**2 + sy**2)
Note: See TracChangeset for help on using the changeset viewer.