Skip to content

Commit d0d3519

Browse files
authored
Merge pull request #1186 from ymiftah/bugfix/check_empty_not_nothing
bugfix: Table Data Parser can have undefined inputs
2 parents 54e11af + e5cf0c9 commit d0d3519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parsers/power_system_table_data.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ function System(
275275
)
276276

277277
for (val, parser) in parsers
278-
if !isnothing(val)
278+
if !isempty(val)
279279
parser(sys, data)
280280
end
281281
end

0 commit comments

Comments
 (0)