We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71e8872 commit 3cc1370Copy full SHA for 3cc1370
src/opensmt/egraph/EgraphStore.C
@@ -844,7 +844,7 @@ Enode * Egraph::mkAbs (Enode * args)
844
if (config.nra_simp) {
845
Enode * const arg = args->getCar();
846
if (arg->isConstant()) {
847
- return mkNum(abs(arg->getValue()));
+ return mkNum(fabs(arg->getValue()));
848
}
849
850
Enode * res = cons( id_to_enode[ ENODE_ID_ABS], args );
0 commit comments