Changeset 16347


Ignore:
Timestamp:
10/09/13 08:02:06 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: need to cast to int

Location:
issm/trunk-jpl/src/c/classes/Elements
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Penta.cpp

    r16343 r16347  
    22442244        /*Need to know the type of approximation for this element*/
    22452245        if(iomodel->Data(FlowequationElementEquationEnum)){
    2246                 this->inputs->AddInput(new IntInput(ApproximationEnum,iomodel->Data(FlowequationElementEquationEnum)[index]));
     2246                this->inputs->AddInput(new IntInput(ApproximationEnum,reCast<int>(iomodel->Data(FlowequationElementEquationEnum)[index])));
    22472247        }
    22482248
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r16346 r16347  
    15941594        /*Need to know the type of approximation for this element*/
    15951595        if(iomodel->Data(FlowequationElementEquationEnum)){
    1596                 this->inputs->AddInput(new IntInput(ApproximationEnum,iomodel->Data(FlowequationElementEquationEnum)[index]));
     1596                this->inputs->AddInput(new IntInput(ApproximationEnum,reCast<int>(iomodel->Data(FlowequationElementEquationEnum)[index])));
    15971597        }
    15981598
Note: See TracChangeset for help on using the changeset viewer.