source: issm/oecreview/Archive/18296-19100/ISSM-18359-18360.diff@ 19102

Last change on this file since 19102 was 19102, checked in by Mathieu Morlighem, 10 years ago

NEW: added 18296-19100

File size: 798 bytes
RevLine 
[19102]1Index: ../trunk-jpl/src/c/classes/Elements/Element.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 18359)
4+++ ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 18360)
5@@ -734,8 +734,8 @@
6 IssmDouble input_min = input->Min();
7 IssmDouble input_max = input->Max();
8 for(int i=0;i<numnodes;i++){
9- if(min[nodes[i]->GetDof(0,GSetEnum)]>input_min) min[nodes[i]->GetDof(0,GSetEnum)] = input_min;
10- if(max[nodes[i]->GetDof(0,GSetEnum)]<input_max) max[nodes[i]->GetDof(0,GSetEnum)] = input_max;
11+ if(min[nodes[i]->GetDof(0,GsetEnum)]>input_min) min[nodes[i]->GetDof(0,GsetEnum)] = input_min;
12+ if(max[nodes[i]->GetDof(0,GsetEnum)]<input_max) max[nodes[i]->GetDof(0,GsetEnum)] = input_max;
13 }
14 }
15 /*}}}*/
Note: See TracBrowser for help on using the repository browser.