Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
alefcastelli committed Aug 23, 2023
1 parent 911ce3f commit 0ac376a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PowerNetworkMatrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function Base.summary(io::IO, A::PowerNetworkMatrix)
return
end

_summary(io::IO, ::T) where T <: PowerNetworkMatrix = println(io, "$T")
_summary(io::IO, ::T) where {T <: PowerNetworkMatrix} = println(io, "$T")

function Base.summary(
io::IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}},
Expand Down
2 changes: 1 addition & 1 deletion src/virtual_ptdf_calculations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function Base.isempty(vptdf::VirtualPTDF)
for name in fieldnames(typeof(vptdf))
if name == :dist_slack && isempty(getfield(vptdf, name))
@debug "Field dist_slack has default value: " *
string(getfield(vptdf, name)) * "."
string(getfield(vptdf, name)) * "."
elseif !(name in [:K, :dist_slack]) && isempty(getfield(vptdf, name))
@debug "Field " * string(name) * " not defined."
return true
Expand Down

0 comments on commit 0ac376a

Please sign in to comment.