Precount number of non-zeros for constraint Jacobian sparse matrix.
PiperOrigin-RevId: 512947632 Change-Id: I9605e81b4e51fbc90854c13153e4fee38ad48fb9
This commit is contained in:
committed by
Copybara-Service
parent
90b5dd14ca
commit
50bebcb4ee
@@ -707,6 +707,7 @@ void MjDataWrapper::Serialize(std::ostream& output) const {
|
||||
X(warning);
|
||||
X(ne);
|
||||
X(nf);
|
||||
X(nnzJ);
|
||||
X(nefc);
|
||||
X(ncon);
|
||||
X(time);
|
||||
@@ -797,6 +798,7 @@ MjDataWrapper MjDataWrapper::Deserialize(std::istream& input) {
|
||||
X(warning);
|
||||
X(ne);
|
||||
X(nf);
|
||||
X(nnzJ);
|
||||
X(nefc);
|
||||
X(ncon);
|
||||
X(time);
|
||||
|
||||
Reference in New Issue
Block a user