Changeset 12551


Ignore:
Timestamp:
06/26/12 09:24:49 (13 years ago)
Author:
utke
Message:

another reCast and need to wrap case branch in {} to avoid compiler error about jumping across the variable initializarion on line 1613

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Elements/Tria.cpp

    r12547 r12551  
    13901390        /*Recover vertices ids needed to initialize inputs*/
    13911391        for(i=0;i<3;i++){
    1392                 tria_vertex_ids[i]=(int)iomodel->Data(MeshElementsEnum)[3*index+i]; //ids for vertices are in the elements array from Matlab
     1392                tria_vertex_ids[i]=reCast<int>(iomodel->Data(MeshElementsEnum)[3*index+i]); //ids for vertices are in the elements array from Matlab
    13931393        }
    13941394
     
    16081608        switch(type){
    16091609
    1610                 case VertexEnum:
     1610                case VertexEnum: {
    16111611
    16121612                        /*New TriaP1Input*/
     
    16261626                        }
    16271627                        return;
    1628 
     1628                }
    16291629                default:
    16301630                        _error2_("type " << type << " (" << EnumToStringx(type) << ") not implemented yet");
Note: See TracChangeset for help on using the changeset viewer.