File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ mutable struct SolverParams <: DFG.AbstractParams
4444 gibbsIters:: Int
4545 maxincidence:: Int # maximum incidence to a variable in an effort to enhance sparsity
4646 alwaysFreshMeasurements:: Bool
47+ # should factor gradients be calculated or attempted (UNDER DEVELOPMENT, 21Q3)
48+ attemptGradients:: Bool
4749 devParams:: Dict{Symbol,String}
4850 #
4951end
@@ -79,6 +81,7 @@ SolverParams(;dimID::Int=0,
7981 gibbsIters:: Int = 3 ,
8082 maxincidence:: Int = 500 ,
8183 alwaysFreshMeasurements:: Bool = true ,
84+ attemptGradients:: Bool = false ,
8285 devParams:: Dict{Symbol,String} = Dict {Symbol,String} ()
8386 ) = begin useMsgLikelihoods== true && @warn " useMsgLikelihoods is under development, use with care, see #1010"
8487 SolverParams ( dimID,
@@ -112,6 +115,7 @@ SolverParams(;dimID::Int=0,
112115 gibbsIters,
113116 maxincidence,
114117 alwaysFreshMeasurements,
118+ attemptGradients,
115119 devParams )
116120 end
117121#
You can’t perform that action at this time.
0 commit comments