Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Resource: rename fields
[simgrid.git] / src / surf / ptask_L07.cpp
index 558a96b..e875896 100644 (file)
@@ -289,7 +289,7 @@ Link* NetworkL07Model::createLink(const char *name, double bandwidth, double lat
 CpuL07::CpuL07(CpuL07Model *model, simgrid::s4u::Host *host, xbt_dynar_t speedPerPstate, int core)
  : Cpu(model, host, speedPerPstate, core)
 {
-  p_constraint = lmm_constraint_new(model->getMaxminSystem(), this, xbt_dynar_get_as(speedPerPstate,0,double));
+  constraint_ = lmm_constraint_new(model->getMaxminSystem(), this, xbt_dynar_get_as(speedPerPstate,0,double));
 }
 
 CpuL07::~CpuL07()