CoinMP: fix mips*
This commit is contained in:
parent
f11dd09830
commit
f0c1b79f62
1 changed files with 15 additions and 0 deletions
15
srcpkgs/CoinMP/patches/mips.patch
Normal file
15
srcpkgs/CoinMP/patches/mips.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
Avoid `mips' as a parameter name. It is a reserved name for mips* targets.
|
||||
|
||||
--- Cbc/src/CbcModel.hpp 2015-07-07 22:44:40.000000000 +0200
|
||||
+++ Cbc/src/CbcModel.hpp 2018-01-14 13:49:12.277278333 +0100
|
||||
@@ -2394,8 +2394,8 @@
|
||||
void redoWalkBack();
|
||||
//@}
|
||||
|
||||
- void setMIPStart( const std::vector< std::pair< std::string, double > > &mips ) {
|
||||
- this->mipStart_ = mips;
|
||||
+ void setMIPStart( const std::vector< std::pair< std::string, double > > &start ) {
|
||||
+ this->mipStart_ = start;
|
||||
}
|
||||
|
||||
const std::vector< std::pair< std::string, double > > &getMIPStart() {
|
Loading…
Reference in a new issue