Skip to content

Commit 65c08ae

Browse files
committed
remove *Inf from get_max_reactive_power
1 parent c3b1513 commit 65c08ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/models/supplemental_accessors.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Return the max reactive power for a device with explicit units specified.
250250
"""
251251
function get_max_reactive_power(d::T, units) where {T <: StaticInjection}
252252
limits = get_reactive_power_limits(d, units)
253-
isnothing(limits) && return Inf * units
253+
isnothing(limits) && return Inf
254254
return limits.max
255255
end
256256

0 commit comments

Comments
 (0)