Skip to content

Commit

Permalink
Fix enable_threading redefinition warning
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jun 29, 2023
1 parent f403dea commit f817149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ and running julia with `julia --nthreads=N ...`
This function is deprecated in version `0.10.42`.
Please use the ClimaComms context for threading.
"""
enable_threading() = false
function enable_threading end

Base.@deprecate enable_threading() deprecated_enable_threading() false
deprecated_enable_threading() = false

Expand Down

0 comments on commit f817149

Please sign in to comment.