Skip to content

Commit f750096

Browse files
committed
Fix bug in getdataframe method
1 parent 123a623 commit f750096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mimi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Return the values for a variable as a DataFrame.
298298
"""
299299
function getdataframe(m::Model, component::Symbol, name::Symbol)
300300
comp_type = typeof(m.components[component])
301-
vardiminfo = getdiminfoforvar(typeof(m.components[component]), name)
301+
vardiminfo = getdiminfoforvar(super(typeof(m.components[component])), name)
302302
if length(vardiminfo)==0
303303
return m[component, name]
304304
elseif length(vardiminfo)==1

0 commit comments

Comments
 (0)