diff --git a/src/PowerModels.jl b/src/PowerModels.jl index 72e86eb0e..b674788b6 100644 --- a/src/PowerModels.jl +++ b/src/PowerModels.jl @@ -20,6 +20,7 @@ if VERSION < v"0.7.0-" import Compat: eachmatch import Compat: undef import Compat: pairs + import Compat: stdout LinearAlgebra = Compat.LinearAlgebra diff --git a/src/core/data.jl b/src/core/data.jl index 4dd04548b..7dd5e878f 100644 --- a/src/core/data.jl +++ b/src/core/data.jl @@ -127,9 +127,9 @@ function check_keys(data, keys) end -"prints the text summary for a data file or dictionary to STDOUT" +"prints the text summary for a data file or dictionary to stdout" function print_summary(obj::Union{String, Dict{String,Any}}; kwargs...) - summary(STDOUT, obj; kwargs...) + summary(stdout, obj; kwargs...) end