Changeset 27358


Ignore:
Timestamp:
11/08/22 00:57:09 (2 years ago)
Author:
inwoo
Message:

CHG: interp/SectionValues.py - fix assert int in portion for preventing assign array with numpy.

File:
1 edited

Legend:

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

    r25455 r27358  
    5656
    5757        length_segment = np.sqrt((x_end - x_start)**2 + (y_end - y_start)**2)
    58         portion = np.ceil(length_segment / res_h)
     58        portion = int(np.ceil(length_segment / res_h))
    5959
    6060        x_segment = np.zeros(portion)
Note: See TracChangeset for help on using the changeset viewer.