Skip to content

Commit 9ba6669

Browse files
authored
Merge pull request #1688 from JuliaRobotics/23Q1/fix/gradiant_recon
Only reconstruct gradients if attemptGradients
2 parents 1851b5d + b47a2a8 commit 9ba6669

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Serialization/services/DispatchPackedConversions.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ function reconstFactorData(
5050
certainhypo = packed.certainhypo,
5151
inflation = packed.inflation,
5252
userCache,
53+
_blockRecursion=!getSolverParams(dfg).attemptGradients,
5354
)
5455
#
5556

0 commit comments

Comments
 (0)