-
Notifications
You must be signed in to change notification settings - Fork 448
Open
Description
Numpy 1.23 introduces updates to multidimensional indexing which results in error when designing propeller.
Change required on this line (remove square brackets and use numpy > operator):
| con3 = [alpha>=(92.0*Units.deg)] |
Warning from numpy 1.22.4
FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
CL2[con3] = -0.032*(alpha[con3]/Units.deg-92.0) + RCL2*((alpha[con3]-92.*Units.deg)/(51.0*Units.deg))**N2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels