diff --git a/ADRpy/atmospheres.py b/ADRpy/atmospheres.py index 1127ce9..efcbf21 100644 --- a/ADRpy/atmospheres.py +++ b/ADRpy/atmospheres.py @@ -736,7 +736,7 @@ def eas2tas(self, eas, altitude_m): eas Float or numpy array of floats. Equivalent airspeed (any unit, - returned TAS value will be in the same unit).abs + returned TAS value will be in the same unit). altitude_m Float. Flight altitude in metres. diff --git a/ADRpy/constraintanalysis.py b/ADRpy/constraintanalysis.py index ec0fe84..930e987 100644 --- a/ADRpy/constraintanalysis.py +++ b/ADRpy/constraintanalysis.py @@ -1067,7 +1067,7 @@ def powerrequired(self, wingloadinglist_pa, tow_kg, feasibleonly=True): trnspeed_mpstas = co.kts2mps(self.turnspeed_ktas) if feasibleonly: pw_trn_wpn = tw2pw(twreq['turnfeasible'], trnspeed_mpstas, self.etaprop_turn) - if all(np.isnan(pw_trn_wpn)): + if np.all(np.isnan(pw_trn_wpn)): nanmsg = "All turns are infeasible for the given load factor, speed, and wing loadings." warnings.warn(nanmsg, RuntimeWarning) else: