Skip to content

Conversation

@msoos
Copy link

@msoos msoos commented Aug 28, 2022

This fixes a log(0) issue with CNF:

p cnf 4 4
-2 4 0
3 4 0
-3 -4 0
3 -4 0

That otherwise gives:

soos@tiresias:count_fuzzer$ ../sharpSAT/build/sharpSAT a.cnf 
Solving a.cnf
variables (all/used/free):      4/4/0
clauses (all/long/binary/unit): 4/0/4/0

Preprocessing .. DONE
variables (all/used/free):      1/0/1
clauses (all/long/binary/unit): 0/0/0/0
56 16
sharpSAT: /home/soos/development/sat_solvers/sharpSAT/src/component_types/difference_packed_component.h:119: DifferencePackedComponent::DifferencePackedComponent(Component&): Assertion `(data_size >> bits_of_data_size()) == 0' failed.
Aborted (core dumped)

@latower for visibility

@ZaydH
Copy link

ZaydH commented Aug 29, 2022

@msoos Since sharpSAT's pull requests have sat for years, it might make sense for your team to fork the repository so it can stay up to date with fixes/features as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants