Fix stupid bug in btor back-end
authorClifford Wolf <clifford@clifford.at>
Wed, 18 Sep 2019 09:56:14 +0000 (11:56 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 18 Sep 2019 09:56:14 +0000 (11:56 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
backends/btor/btor.cc

index 7c054d65519af4c2356a13ae831ec135eb72430e..4472993d4fadbcd3678b1fd8b1e49afddaeae675 100644 (file)
@@ -685,7 +685,7 @@ struct BtorWorker
                                }
                                else
                                {
-                                       int nid_init_val = next_nid++;
+                                       nid_init_val = next_nid++;
                                        btorf("%d state %d\n", nid_init_val, sid);
 
                                        for (int i = 0; i < nwords; i++) {