Skip to content

Commit

Permalink
replace @kwdef with Base.@kwdef (#28)
Browse files Browse the repository at this point in the history
* add Base.

* small fix in docs
  • Loading branch information
m-bossart authored Dec 18, 2023
1 parent 6b81505 commit 6398aa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/nlsolve_ac_powerflow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Arguments available for `nlsolve`:
## Examples
```julia
solve_powerflow!(sys)
solve_ac_powerflow!(sys)
# Passing NLsolve arguments
solve_powerflow!(sys, method=:newton)
solve_ac_powerflow!(sys, method=:newton)
```
"""
function solve_ac_powerflow!(system::PSY.System; kwargs...)
Expand Down
2 changes: 1 addition & 1 deletion src/powerflow_types.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@kwdef struct ACPowerFlow
Base.@kwdef struct ACPowerFlow
check_reactive_power_limits::Bool = false
end

Expand Down

0 comments on commit 6398aa0

Please sign in to comment.