Closed nickbianco closed 6 months ago
Related to https://github.com/keenon/nimblephysics/pull/205.
If all residuals are zero (e.g., if no residuals to report since foot body names were wrong), then skip computing the mean residuals which produces numpy warnings (i.e., bad idea to take the mean of an empty vector).
numpy
Related to https://github.com/keenon/nimblephysics/pull/205.
If all residuals are zero (e.g., if no residuals to report since foot body names were wrong), then skip computing the mean residuals which produces
numpy
warnings (i.e., bad idea to take the mean of an empty vector).