Remove duplicate information in M_.blocksEQU

issue#70
Sébastien Villemot 2012-11-16 17:16:40 +01:00
parent 823d5a51a6
commit 0cae76f0eb
1 changed files with 0 additions and 9 deletions

View File

@ -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);