Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jan 22, 2024
1 parent e356d1e commit 9f1c16d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/network_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function add_dual!(model::NetworkModel, dual)
return
end

function check_radial_branch_redution_compatibility(
function check_radial_branch_reduction_compatibility(
::Type{T},
) where {T <: PM.AbstractPowerModel}
if T INCOMPATIBLE_WITH_RADIAL_BRANCHES_POWERMODELS
Expand All @@ -92,7 +92,7 @@ function instantiate_network_model(
model.subnetworks = PNM.find_subnetworks(sys)
end
if model.reduce_radial_branches
check_radial_branch_redution_compatibility(T)
check_radial_branch_reduction_compatibility(T)
model.radial_network_reduction = PNM.RadialNetworkReduction(sys)
end
return
Expand Down

0 comments on commit 9f1c16d

Please sign in to comment.