Skip to content

Commit ee9ef29

Browse files
committed
fix warning
1 parent 355d5e0 commit ee9ef29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • TestCases/py_wrapper/custom_load_fea

TestCases/py_wrapper/custom_load_fea/run_ad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def ApplyLoad(driver, marker_id, peak_load):
9393
of the nodal forces with respect to the peak load.
9494
"""
9595
derivatives = []
96-
if marker_id < 0: return
96+
if marker_id < 0: return derivatives
9797

9898
marker_coords = driver.MarkerCoordinates(marker_id)
9999
l = 0.5

0 commit comments

Comments
 (0)