We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5ffd8 commit bd1fd4cCopy full SHA for bd1fd4c
src/Convex.jl
@@ -46,7 +46,7 @@ of disciplined convex form. To turn warnings off, run
46
47
Convex.DCP_WARNINGS[] = false
48
"""
49
-const DCP_WARNINGS = Threads.Atomic{Bool}(true)
+const DCP_WARNINGS = Ref(true)
50
51
52
MAXDEPTH
@@ -55,7 +55,7 @@ Controls depth of tree printing globally for Convex.jl; defaults to 3. Set via
55
56
Convex.MAXDEPTH[] = 5
57
58
-const MAXDEPTH = Threads.Atomic{Int}(3)
+const MAXDEPTH = Ref(3)
59
60
61
MAXWIDTH
@@ -64,7 +64,7 @@ Controls width of tree printing globally for Convex.jl; defaults to 15. Set via
64
65
Convex.MAXWIDTH[] = 15
66
67
-const MAXWIDTH= Threads.Atomic{Int}(15)
+const MAXWIDTH= Ref(15)
68
69
### modeling framework
70
include("dcp.jl")
0 commit comments