MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / clearScalars

Method clearScalars

highs/util/HVectorBase.cpp:67–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66template <typename Real>
67void HVectorBase<Real>::clearScalars() {
68 /*
69 * Clear scalars in an HVector instance
70 */
71 // Reset the flag to indicate when to pack
72 this->packFlag = false;
73 // Zero the number of stored indices
74 this->count = 0;
75 // Zero the synthetic clock for operations with this vector
76 this->synthetic_tick = 0;
77 // Initialise the next value
78 this->next = 0;
79}
80
81template <typename Real>
82void HVectorBase<Real>::tight() {

Callers 3

clearMethod · 0.95
ftranCallMethod · 0.80
btranCallMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected