Skip to content

Commit 232d724

Browse files
committed
- min/max typo :)
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8273 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent e58e26c commit 232d724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c_runtime/simulation_modelinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static void printPlotCommand(FILE *plt, const char *title, const char *prefix, i
6666
fprintf(plt, format, prefix, numFnsAndBlocks, numFnsAndBlocks, 3+i);
6767
if (i >= 0) {
6868
nmin = rt_ncall_min(SIM_TIMER_FIRST_FUNCTION + i);
69-
nmax = rt_ncall_min(SIM_TIMER_FIRST_FUNCTION + i);
69+
nmax = rt_ncall_max(SIM_TIMER_FIRST_FUNCTION + i);
7070
ymin = nmin*0.99;
7171
ymax = nmax*1.01;
7272

0 commit comments

Comments
 (0)