Skip to content

Commit

Permalink
Merge pull request #1688 from JuliaRobotics/23Q1/fix/gradiant_recon
Browse files Browse the repository at this point in the history
Only reconstruct gradients if attemptGradients
  • Loading branch information
Affie authored Mar 3, 2023
2 parents 1851b5d + b47a2a8 commit 9ba6669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Serialization/services/DispatchPackedConversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function reconstFactorData(
certainhypo = packed.certainhypo,
inflation = packed.inflation,
userCache,
_blockRecursion=!getSolverParams(dfg).attemptGradients,
)
#

Expand Down

0 comments on commit 9ba6669

Please sign in to comment.