Skip to content

Commit 3cc1370

Browse files
committed
fix(opensmt/egraph/EgraphStore.C): use fabs instead of abs
1 parent 71e8872 commit 3cc1370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opensmt/egraph/EgraphStore.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ Enode * Egraph::mkAbs (Enode * args)
844844
if (config.nra_simp) {
845845
Enode * const arg = args->getCar();
846846
if (arg->isConstant()) {
847-
return mkNum(abs(arg->getValue()));
847+
return mkNum(fabs(arg->getValue()));
848848
}
849849
}
850850
Enode * res = cons( id_to_enode[ ENODE_ID_ABS], args );

0 commit comments

Comments
 (0)