Skip to content

Commit 1b6b9a2

Browse files
committed
use more specific type 'FP-Formula' instead of just 'Formula'
1 parent 1eb46e2 commit 1b6b9a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/org/sosy_lab/java_smt/api/FloatingPointFormulaManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ FloatingPointFormula castFrom(
7575
FloatingPointType targetType,
7676
FloatingPointRoundingMode pFloatingPointRoundingMode);
7777

78-
FloatingPointFormula round(Formula formula, FloatingPointRoundingMode roundingMode);
78+
FloatingPointFormula round(FloatingPointFormula formula, FloatingPointRoundingMode roundingMode);
7979

8080
// ----------------- Arithmetic relations, return type NumeralFormula -----------------
8181

src/org/sosy_lab/java_smt/basicimpl/AbstractFloatingPointFormulaManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public BooleanFormula isSubnormal(FloatingPointFormula pNumber) {
390390
protected abstract TFormulaInfo isSubnormal(TFormulaInfo pParam);
391391

392392
@Override
393-
public FloatingPointFormula round(Formula pFormula, FloatingPointRoundingMode pRoundingMode) {
393+
public FloatingPointFormula round(FloatingPointFormula pFormula, FloatingPointRoundingMode pRoundingMode) {
394394
return wrap(round(extractInfo(pFormula), pRoundingMode));
395395
}
396396

0 commit comments

Comments
 (0)