source: issm/oecreview/Archive/20545-21336/ISSM-21206-21207.diff@ 21337

Last change on this file since 21337 was 21337, checked in by Mathieu Morlighem, 8 years ago

CHG: added Archive/20545-21336

File size: 601 bytes
RevLine 
[21337]1Index: ../trunk-jpl/src/c/classes/Elements/Element.cpp
2===================================================================
3--- ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 21206)
4+++ ../trunk-jpl/src/c/classes/Elements/Element.cpp (revision 21207)
5@@ -1401,7 +1401,7 @@
6 void Element::InputUpdateFromConstant(IssmDouble constant, int name){/*{{{*/
7
8 /*Check that name is an element input*/
9- if(!IsInput(name)) _error_("Enum "<<EnumToStringx(name)<<" is not in IsInput");
10+ if(!IsInput(name)) return;
11
12 /*update input*/
13 this->inputs->AddInput(new DoubleInput(name,constant));
Note: See TracBrowser for help on using the repository browser.