modelviz: make the LinexComparator more robust by getting the model from a non-nullab...
[nit.git] / src / metrics / metrics_base.nit
index ebd05ae..342d5c7 100644 (file)
@@ -166,7 +166,7 @@ interface Metric
        fun values: RES is abstract
 
        # Collect metric values on elements
-       fun collect(elements: Set[ELM]) is abstract
+       fun collect(elements: Collection[ELM]) is abstract
 
        # The value calculated for the element
        fun [](element: ELM): VAL do return values[element]