Closed yoid2000 closed 8 months ago
In solver.py, the following code hits divide-by-zero when n is 0.0
n
def _floor_by(n: float, x: float) -> float: return math.floor(x / n) * n
https://github.com/diffix/syndiffix/blob/6abe392a4703f22d55f1c51ae0849bccc721ba2b/syndiffix/clustering/solver.py#L21-L26
In solver.py, the following code hits divide-by-zero when
n
is 0.0https://github.com/diffix/syndiffix/blob/6abe392a4703f22d55f1c51ae0849bccc721ba2b/syndiffix/clustering/solver.py#L21-L26