Projects
home:Eustace:branches:Eulaceura:Factory
coin-or-coinutils
_service:obs_scm:coin-or-CoinUtils-status.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:coin-or-CoinUtils-status.patch of Package coin-or-coinutils
diff -up a/CoinUtils/src/CoinPresolveMatrix.hpp b/CoinUtils/src/CoinPresolveMatrix.hpp --- a/CoinUtils/src/CoinPresolveMatrix.hpp 2020-01-31 03:39:08.000000000 -0700 +++ b/CoinUtils/src/CoinPresolveMatrix.hpp 2020-02-18 15:39:44.493820891 -0700 @@ -346,6 +346,7 @@ public: /// Set row status (<i>i.e.</i>, status of artificial for this row) inline void setRowStatus(int sequence, Status status) { + if (rowstat_ == nullptr) return; unsigned char &st_byte = rowstat_[sequence]; st_byte = static_cast< unsigned char >(st_byte & (~7)); st_byte = static_cast< unsigned char >(st_byte | status); @@ -363,6 +364,7 @@ public: /// Set column status (<i>i.e.</i>, status of primal variable) inline void setColumnStatus(int sequence, Status status) { + if (colstat_ == nullptr) return; unsigned char &st_byte = colstat_[sequence]; st_byte = static_cast< unsigned char >(st_byte & (~7)); st_byte = static_cast< unsigned char >(st_byte | status);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2