Skip to content

Commit

Permalink
- Added getVectorizationLimit to complement the previously added
Browse files Browse the repository at this point in the history
  setVectorizationLimit API call.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5919 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Aug 12, 2010
1 parent 7d95a39 commit 3298842
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Compiler/Interactive.mo
Expand Up @@ -1682,6 +1682,15 @@ algorithm
then
("false", st);

case (ISTMTS(interactiveStmtLst =
{IEXP(exp = Absyn.CALL(function_ = Absyn.CREF_IDENT(name = "getVectorizationLimit")))}),st)
local
Integer limit;
equation
limit = RTOpts.vectorizationLimit();
resstr = intString(limit);
then
(resstr, st);
end matchcontinue;
end evaluateGraphicalApi2;

Expand Down

0 comments on commit 3298842

Please sign in to comment.