sofa
sofa copied to clipboard
[Modules] shadow variable
modules/SofaTopologyMapping/src/SofaTopologyMapping/SimpleTesselatedTetraMechanicalMapping.inl line 163
Code: typename Out::MatrixDeriv::ColConstIterator colIt = rowIt.begin(); typename Out::MatrixDeriv::ColConstIterator colItEnd = rowIt.end();
// Creates a constraints if the input constraint is not empty.
if (colIt != colItEnd)
{
typename In::MatrixDeriv::RowIterator o = out.writeLine(rowIt.index());
for (typename Out::MatrixDeriv::ColConstIterator colIt = rowIt.begin(); colIt != colItEnd; ++colIt) // <- shadow