Skip to content

Commit

Permalink
- CevalScript.generateFunction now only generates code for the calcul…
Browse files Browse the repository at this point in the history
…ated dependencies

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7089 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 18, 2010
1 parent f351665 commit cbdc3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/CevalScript.mo
Expand Up @@ -4216,7 +4216,7 @@ algorithm

// The list of functions is not ordered, so we need to filter out the main function...
funcs = Env.getFunctionTree(cache);
d = DAEUtil.getFunctionList(funcs);
d = Util.listMap1(paths, DAEUtil.getNamedFunction, funcs);
d = Util.listSetDifference(d, {mainFunction});
uniontypePaths = DAEUtil.getUniontypePaths(d,{});
(cache,metarecordTypes) = Lookup.lookupMetarecordsRecursive(cache, env, uniontypePaths, {});
Expand Down

0 comments on commit cbdc3b5

Please sign in to comment.