diff --git a/MinimumFeedbackSet.cc b/MinimumFeedbackSet.cc index c43562f0..479c8f22 100644 --- a/MinimumFeedbackSet.cc +++ b/MinimumFeedbackSet.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2011 Dynare Team + * Copyright (C) 2009-2012 Dynare Team * * This file is part of Dynare. * @@ -226,7 +226,6 @@ namespace MFS bool not_a_loop; int i; AdjacencyList_t::vertex_iterator it, it1, ita, it_end; - property_map::type v_index = get(vertex_index, G); for (tie(it, it_end) = vertices(G), i = 0; it != it_end; ++it, i++) { int in_degree_n = in_degree(*it, G); diff --git a/StaticModel.cc b/StaticModel.cc index 9f9f0a06..57b13bea 100644 --- a/StaticModel.cc +++ b/StaticModel.cc @@ -1515,12 +1515,10 @@ StaticModel::writeOutput(ostream &output, bool block) const { BlockSimulationType simulation_type = getBlockSimulationType(b); unsigned int block_size = getBlockSize(b); - unsigned int block_mfs = getBlockMfs(b); - unsigned int block_recursive = block_size - block_mfs; ostringstream tmp_s, tmp_s_eq; tmp_s.str(""); tmp_s_eq.str(""); - for (int i = 0; i < block_size; i++) + for (unsigned int i = 0; i < block_size; i++) { tmp_s << " " << getBlockVariableID(b, i)+1; tmp_s_eq << " " << getBlockEquationID(b, i)+1;