Skip to content

Fails on input with no clauses, or when preprocessing results in no remaining clauses. #13

@agreatnate

Description

@agreatnate

When running on the .cnf file:
p cnf 1 0

the program fails with

sharpSAT: .../sharpSAT/include/sharpSAT/unions.h:135: T sharpSAT::DebugVariant::get() const [with T = sharpSAT::VariableIndex; Ts = {sharpSAT::ClauseIndex, sharpSAT::VariableIndex}]: Assertion `(type_id == variant_find_type<0,T,Ts...>()) && "Variant was written a different type than is being read."' failed.

The same error occurs on a slightly more interesting file like
p cnf 3 3
-1 0
-2 0
-2 -3 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions