Fix msan failure in __repr__ when upgraded to NumPy 1.24.
PiperOrigin-RevId: 505661236 Change-Id: I37ea339679870d23886e3c95f51451349fa1de2c
This commit is contained in:
committed by
Copybara-Service
parent
929e09f84a
commit
f1af86cf82
@@ -102,6 +102,7 @@ class MjModelGroupedViewsBase {
|
||||
|
||||
int index() const { return index_; }
|
||||
const std::string& name() const { return name_; }
|
||||
raw::MjModel* ptr() { return m_; }
|
||||
|
||||
protected:
|
||||
int index_;
|
||||
@@ -168,6 +169,7 @@ class MjDataGroupedViewsBase {
|
||||
|
||||
int index() const { return index_; }
|
||||
const std::string& name() const { return name_; }
|
||||
raw::MjData* ptr() { return d_; }
|
||||
|
||||
protected:
|
||||
int index_;
|
||||
|
||||
Reference in New Issue
Block a user