Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure upper layer can retrieve the properties of workstations (and that's the...
[simgrid.git] / src / surf / cpu.c
index 388e1c2..2311d33 100644 (file)
@@ -42,7 +42,7 @@ static cpu_Cas01_t cpu_new(char *name, double power_scale,
               "Host '%s' declared several times in the platform file", name);
   cpu->generic_resource.model = surf_cpu_model;
   cpu->generic_resource.name = name;
-  current_property_set = cpu->generic_resource.properties = cpu_properties;
+  cpu->generic_resource.properties = cpu_properties;
   cpu->power_scale = power_scale;
   xbt_assert0(cpu->power_scale > 0, "Power has to be >0");
   cpu->power_current = power_initial;