Add private function mju_isZeroByte to check for byte-wise zero.
PiperOrigin-RevId: 810456282 Change-Id: I877d0f9225e7a783ed7ff12ce54f4ed0a7889793
This commit is contained in:
committed by
Copybara-Service
parent
bb0878417e
commit
d71d42a374
@@ -1303,7 +1303,7 @@ MJAPI const char* mju_warningText(int warning, size_t info);
|
||||
MJAPI int mju_isBad(mjtNum x);
|
||||
|
||||
// Return 1 if all elements are 0.
|
||||
MJAPI int mju_isZero(mjtNum* vec, int n);
|
||||
MJAPI int mju_isZero(const mjtNum* vec, int n);
|
||||
|
||||
// Standard normal random number generator (optional second number).
|
||||
MJAPI mjtNum mju_standardNormal(mjtNum* num2);
|
||||
|
||||
Reference in New Issue
Block a user