sofa icon indicating copy to clipboard operation
sofa copied to clipboard

[Modules] shadow variable

Open maddin200 opened this issue 4 years ago • 0 comments

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

maddin200 avatar May 21 '21 08:05 maddin200