diff --git a/MinimumFeedbackSet.cc b/MinimumFeedbackSet.cc index c43562f04fb67fe95a7239a6b3e6d3217a9fc5b1..479c8f227cee2544e952048c3c8a89ccd2a71e35 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<AdjacencyList_t, vertex_index_t>::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 9f9f0a065971bddcf1fd9ab1aabdd179e74faedc..57b13bea790282feeac6ad1a514549200c48b601 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;