Skip to content

Commit 8c176f7

Browse files
committed
Replace double by SCIP_Real in model.cpp
1 parent 1d65cf2 commit 8c176f7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/model.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66

77
namespace scippp {
88

9-
Var& Model::addVar(const std::string& name, SCIP_Real coeff, VarType varType, std::optional<double> lb, std::optional<double> ub)
9+
Var& Model::addVar(
10+
const std::string& name,
11+
SCIP_Real coeff,
12+
VarType varType,
13+
std::optional<SCIP_Real> lb,
14+
std::optional<SCIP_Real> ub)
1015
{
1116
SCIP_VAR* var { nullptr };
1217
m_scipCallWrapper(SCIPcreateVarBasic(

0 commit comments

Comments
 (0)