From 1f9d6858f2d9cc21e6869ad743d18d07e82b30e7 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Fri, 17 Aug 2018 12:08:48 -0500 Subject: [PATCH] Fix spurious warning in sort inference (#2331) --- src/theory/sort_inference.cpp | 8 +++++--- test/regress/Makefile.tests | 3 ++- test/regress/regress1/fmf/sort-inf-int-real.smt2 | 15 +++++++++++++++ .../{regress0 => regress1}/fmf/sort-inf-int.smt2 | 0 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 test/regress/regress1/fmf/sort-inf-int-real.smt2 rename test/regress/{regress0 => regress1}/fmf/sort-inf-int.smt2 (100%) diff --git a/src/theory/sort_inference.cpp b/src/theory/sort_inference.cpp index b6e8f7553..c4c0a8b47 100644 --- a/src/theory/sort_inference.cpp +++ b/src/theory/sort_inference.cpp @@ -710,11 +710,13 @@ Node SortInference::simplifyNode( } } children[0] = d_symbol_map[op]; - //make sure all children have been taken care of - for( size_t i=0; i