Fix type errors in compiler and tests.
In preparation for a float32 build of MuJoCo. PiperOrigin-RevId: 644407674 Change-Id: I60069f0f865ef89fbf613f5a2ca0c336cc63461e
This commit is contained in:
committed by
Copybara-Service
parent
c8cc2d51b0
commit
8e2f830fd2
@@ -2560,7 +2560,7 @@ void mjXReader::OneFlexcomp(XMLElement* elem, mjsBody* pbody) {
|
||||
fcomp.rigid = (n==1);
|
||||
}
|
||||
if (ReadAttrTxt(elem, "point", text)){
|
||||
fcomp.point = String2Vector<mjtNum>(text);
|
||||
fcomp.point = String2Vector<double>(text);
|
||||
}
|
||||
if (ReadAttrTxt(elem, "element", text)){
|
||||
fcomp.element = String2Vector<int>(text);
|
||||
|
||||
Reference in New Issue
Block a user