Skip to content

Commit

Permalink
Needed change for InspectDR to work on Julia v0.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosSubotic committed Aug 5, 2024
1 parent eb45590 commit b7b542b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/InspectDR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ TAGS:
#WANTCONST, HIDEWARN_0.7
=#

const _devmode = false
if _devmode
@warn("Development mode - precompile deactivated.")
if false # devmode
@warn("Development mode - precompile deactivated.")
__precompile__(false)
else
__precompile__(true)
end
__precompile__(!_devmode)

module InspectDR

Expand Down

0 comments on commit b7b542b

Please sign in to comment.