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 745f09a commit 469c22cCopy full SHA for 469c22c
src/entities/DFGVariable.jl
@@ -150,7 +150,7 @@ mutable struct DFGVariable <: AbstractDFGVariable
150
smallData::Dict{String, String}
151
bigData::Dict{Symbol, AbstractBigDataEntry}
152
solvable::Int
153
- solveCount::Int
+ solveCount::Ref{Int}
154
_internalId::Int64
155
end
156
@@ -283,7 +283,7 @@ Related
283
284
isSolved, setSolved!
285
"""
286
-getSolved(v::VariableDataLevel2) = v.solveCount
+getSolved(v::VariableDataLevel2) = v.solveCount[]
287
288
289
$SIGNATURES
@@ -305,7 +305,7 @@ Related
305
306
getSolved, isSolved
307
308
-setSolved!(v::VariableDataLevel2, val::Int) = v.solveCount = val
+setSolved!(v::VariableDataLevel2, val::Int) = v.solveCount[] = val
309
310
311
0 commit comments