Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
574cf102
Commit
574cf102
authored
Mar 06, 2017
by
Mathias Soeken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong type cast.
parent
1cd5f768
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/sat/satoko/solver.c
+1
-1
src/sat/xsat/xsatSolver.c
+1
-1
No files found.
src/sat/satoko/solver.c
View file @
574cf102
...
...
@@ -437,7 +437,7 @@ static inline void solver_reduce_cdb(solver_t *s)
limit
=
(
unsigned
)(
n_learnts
*
s
->
opts
.
learnt_ratio
);
satoko_sort
((
void
*
)
learnts_cls
,
n_learnts
,
satoko_sort
((
void
*
*
)
learnts_cls
,
n_learnts
,
(
int
(
*
)(
const
void
*
,
const
void
*
))
clause_compare
);
if
(
learnts_cls
[
n_learnts
/
2
]
->
lbd
<=
3
)
...
...
src/sat/xsat/xsatSolver.c
View file @
574cf102
...
...
@@ -790,7 +790,7 @@ void xSAT_SolverReduceDB( xSAT_Solver_t * s )
limit
=
nLearnedOld
/
2
;
xSAT_UtilSort
((
void
*
)
learnts_cls
,
nLearnedOld
,
xSAT_UtilSort
((
void
*
*
)
learnts_cls
,
nLearnedOld
,
(
int
(
*
)(
const
void
*
,
const
void
*
))
xSAT_ClauseCompare
);
if
(
learnts_cls
[
nLearnedOld
/
2
]
->
nLBD
<=
3
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment