Skip to content

Commit

Permalink
- consider also variables with uncertain=Uncertainty.refine as inputs…
Browse files Browse the repository at this point in the history
… to the OpenTURNS wrapper.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13893 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 14, 2012
1 parent 4c0b5e1 commit 30af893
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Compiler/BackEnd/OpenTURNS.mo
Expand Up @@ -258,7 +258,14 @@ algorithm
case ({}) then {};
case (v::rest)
equation
DAE.GIVEN() = BackendVariable.varUncertainty(v);
DAE.GIVEN() = BackendVariable.varUncertainty(v);
varName = ComponentReference.crefModelicaStr(BackendVariable.varCref(v));
varStr = " <variable id=\""+&varName+&"\" type=\"in\" />";
strLst = generateXMLLibraryInputs(rest);
then varStr::strLst;
case (v::rest)
equation
DAE.REFINE() = BackendVariable.varUncertainty(v);
varName = ComponentReference.crefModelicaStr(BackendVariable.varCref(v));
varStr = " <variable id=\""+&varName+&"\" type=\"in\" />";
strLst = generateXMLLibraryInputs(rest);
Expand Down

0 comments on commit 30af893

Please sign in to comment.