Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 30, 2024
1 parent d44b6b6 commit 4f74479
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/NonlinearSolveBase/src/timer_outputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Enable `TimerOutput` for all `NonlinearSolve` algorithms. This is useful for deb
but has some overhead, so it is disabled by default.
"""
function enable_timer_outputs()
@set_preferences!("enable_timer_outputs" => true)
@set_preferences!("enable_timer_outputs"=>true)
@info "Timer Outputs Enabled. Restart the Julia session for this to take effect."
end

Expand All @@ -50,6 +50,6 @@ Disable `TimerOutput` for all `NonlinearSolve` algorithms. This should be used w
`NonlinearSolve` is being used in performance-critical code.
"""
function disable_timer_outputs()
@set_preferences!("enable_timer_outputs" => false)
@set_preferences!("enable_timer_outputs"=>false)
@info "Timer Outputs Disabled. Restart the Julia session for this to take effect."
end

0 comments on commit 4f74479

Please sign in to comment.