Throws a warning when the wing gradient is ill-defined