You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but in the tutorial that this was based on, the count is based on the total number of covered columns:
for i in1..n loop
for j in1..n loop
if M(i,j)=1then
C_cov(j):=1;
endif;
end loop;
end loop;
count:=0;
for j in1..n loop
count:=count + C_cov(j);
end loop;
to fix this, i suggest adding a condition and not self.col_covered[j] like this:
these lines https://github.com/bmc/munkres/blob/master/munkres.py#L463-L465 read:
but in the tutorial that this was based on, the count is based on the total number of covered columns:
to fix this, i suggest adding a condition
and not self.col_covered[j]
like this:The text was updated successfully, but these errors were encountered: