From 0cae76f0ebe5bfbff75c0ae9d3f0c2364ff879eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 16 Nov 2012 17:16:40 +0100 Subject: [PATCH] Remove duplicate information in M_.blocksEQU --- StaticModel.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/StaticModel.cc b/StaticModel.cc index 57b13bea..43bd8128 100644 --- a/StaticModel.cc +++ b/StaticModel.cc @@ -1502,15 +1502,6 @@ StaticModel::writeOutput(ostream &output, bool block) const output << "];" << endl; } - output << "M_.blocksEQU = cell(" << nb_blocks << ", 1);" << endl; - for (int b = 0; b < (int) nb_blocks; b++) - { - unsigned int block_size = getBlockSize(b); - output << "M_.blocksEQU{" << b+1 << "} = [ "; - for (int i = 0; i < (int) block_size; i++) - output << getBlockEquationID(b, i)+1 << "; "; - output << "];" << endl; - } for (int b = 0; b < (int) nb_blocks; b++) { BlockSimulationType simulation_type = getBlockSimulationType(b);