Skip to content

Commit 7d74ac0

Browse files
committed
correct counter increase in cl metric
1 parent c75b38d commit 7d74ac0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pycona/ca_environment/ca_env_core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def add_to_cl(self, C):
9292
self.instance.cl.extend(C)
9393
self.instance.bias = list(set(self.instance.bias) - set(C))
9494

95-
self.metrics.cl += 1
95+
self.metrics.cl += len(C)
9696
if self.verbose == 1:
97-
print("L", end="")
97+
for c in C:
98+
print("L", end="")

0 commit comments

Comments
 (0)