Skip to content

Division by zero when running solver #25

@isovector

Description

@isovector

The following set of constraints crashes:

crash :: Maybe [Defined Integer]
crash = Control.Monad.Watson.satisfying (from 2 [0, 1]) $ \[x, y] ->
  x .== lift 1
  .&&
    (x .*. y) .== y

with the error

*** Exception: divide by zero

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions