Changeset 23583


Ignore:
Timestamp:
12/30/18 19:41:54 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: constraints has to be in analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/modules/SpcNodesx/SpcNodesx.cpp ΒΆ

    r14999 r23583  
    1414                Constraint* constraint=(Constraint*)constraints->GetObjectByOffset(i);
    1515
    16                 /*Check this constraint belongs to this analysis: */
    17                 if(constraint->InAnalysis(analysis_type)){
    18 
    19                         /*Ok, apply constraint onto corresponding node: */
    20                         constraint->ConstrainNode(nodes,parameters);
    21                 }
     16                _assert_(constraint->InAnalysis(analysis_type));
     17                constraint->ConstrainNode(nodes,parameters);
    2218        }
    23 
    2419}
Note: See TracChangeset for help on using the changeset viewer.