Skip to content

Adding a new literal and immediately watching it causes an assertion. #192

@rkaminsk

Description

@rkaminsk

The following program causes an assertion.

import clingo

class Propagator:
    def init(self, init):
        init.add_watch(init.add_literal())

ctl = clingo.Control()
ctl.register_propagator(Propagator())
ctl.solve()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions