Skip to content

Commit bf4d02d

Browse files
committed
Add missing argument to numel()
1 parent 210aca8 commit bf4d02d

File tree

1 file changed

+1
-1
lines changed
  • modelica_fmi/src/modelica_fmi

1 file changed

+1
-1
lines changed

modelica_fmi/src/modelica_fmi/_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def dependencies3(
261261
if not s:
262262
values.append(name(dependency))
263263
elif len(s) == 1:
264-
for i in range(1, numel(dependency) + 1):
264+
for i in range(1, numel(variables, dependency) + 1):
265265
values.append(f"{name(dependency)}[{i}]")
266266
elif len(s) == 2:
267267
for i in range(1, s[0] + 1):

0 commit comments

Comments
 (0)