From 47c83d839e8fe4cda589654ea8bab707cf1d618d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 16 Nov 2012 17:39:03 +0100 Subject: [PATCH] Remove duplicate information in M_.blocksMFS --- StaticModel.cc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/StaticModel.cc b/StaticModel.cc index 43bd8128..66a4366c 100644 --- a/StaticModel.cc +++ b/StaticModel.cc @@ -1487,21 +1487,6 @@ StaticModel::writeOutput(ostream &output, bool block) const return; unsigned int nb_blocks = getNbBlocks(); - output << "M_.blocksMFS = cell(" << nb_blocks << ", 1);" << endl; - for (int b = 0; b < (int) nb_blocks; b++) - { - output << "M_.blocksMFS{" << b+1 << "} = [ "; - unsigned int block_size = getBlockSize(b); - unsigned int block_mfs = getBlockMfs(b); - unsigned int block_recursive = block_size - block_mfs; - BlockSimulationType simulation_type = getBlockSimulationType(b); - - if (simulation_type != EVALUATE_BACKWARD && simulation_type != EVALUATE_FORWARD) - for (int i = block_recursive; i < (int) block_size; i++) - output << getBlockVariableID(b, i)+1 << "; "; - - output << "];" << endl; - } for (int b = 0; b < (int) nb_blocks; b++) { BlockSimulationType simulation_type = getBlockSimulationType(b);