svf-lib 1.0.1472 → 1.0.1473

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -546,7 +546,7 @@ inline IntervalValue operator%(const IntervalValue &lhs,
546
546
  else
547
547
  {
548
548
  NumericLiteral n_ub = max(abs(lhs.lb()), abs(lhs.ub()));
549
- NumericLiteral d_ub = max(abs(rhs.lb()), rhs.ub() - 1);
549
+ NumericLiteral d_ub = max(abs(rhs.lb()), rhs.ub()) - 1;
550
550
  NumericLiteral ub = min(n_ub, d_ub);
551
551
 
552
552
  if (lhs.lb().getNumeral() < 0)
@@ -592,7 +592,7 @@ inline IntervalValue operator>(const IntervalValue &lhs, const IntervalValue &rh
592
592
  return IntervalValue(1, 1);
593
593
  // lhs[1,2] rhs[3,4]
594
594
  }
595
- else if (lhs.ub().geq(rhs.lb()))
595
+ else if (!lhs.ub().geq(rhs.lb()))
596
596
  {
597
597
  return IntervalValue(0, 0);
598
598
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svf-lib",
3
- "version": "1.0.1472",
3
+ "version": "1.0.1473",
4
4
  "description": "SVF's npm support",
5
5
  "main": "index.js",
6
6
  "scripts": {