Commit 28462bf6 authored by nojhan's avatar nojhan
Browse files

Merge branch 'master' of gitlab.ensta.fr:Dreo/sho

parents 3409f025 5a96a25f
......@@ -23,7 +23,7 @@ def to_sensors(sol):
def cover_sum(sol, domain_width, sensor_range, dim):
"""Compute the coverage quality of the given vector."""
assert(0 < sensor_range <= domain_width * math.sqrt(2))
assert(0 < sensor_range <= math.sqrt(2))
assert(0 < domain_width)
assert(dim > 0)
assert(len(sol) >= dim)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment