Skip to content

Commit b47a2a8

Browse files
committed
Only reconstruct gradients if attemptGradients
1 parent 1851b5d commit b47a2a8

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)