File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"
48
48
UUIDs = " cf7118a7-6976-5b1a-9a39-7adc72f591a4"
49
49
50
50
[compat ]
51
- ApproxManifoldProducts = " 0.6.3"
51
+ ApproxManifoldProducts = " 0.6.3, 0.7 "
52
52
BSON = " 0.2, 0.3"
53
53
Combinatorics = " 1.0"
54
54
DataStructures = " 0.16, 0.17, 0.18"
Original file line number Diff line number Diff line change @@ -241,12 +241,23 @@ function _createVarValsAll(
241
241
)
242
242
#
243
243
# Note, NamedTuple once upon a time created way too much recompile load on repeat solves, #1564
244
- varValsAll = map (var_i-> getVal (var_i; solveKey), tuple (variables... ))
245
-
246
- for (i,vv) in enumerate (varValsAll)
247
- @assert pointer (vv) == pointer (getVal (variables[i]; solveKey)) " Developer check that ccw.varValsAll pointers go to same memory as getVal(variable)"
244
+ # FIXME ON FIRE issue on deserialization
245
+ valsAll = []
246
+
247
+ # when deserializing a factor, a new ccw gets created but the variables may not yet have VND entries
248
+ for var_i in variables
249
+ push! (
250
+ valsAll,
251
+ if haskey (getSolverDataDict (var_i), solveKey)
252
+ getVal (var_i; solveKey)
253
+ else
254
+ Vector {typeof(getPointDefault(getVariableType(var_i)))} ()
255
+ end
256
+ )
248
257
end
249
258
259
+ varValsAll = tuple (valsAll... )
260
+
250
261
# how many points
251
262
LEN = length .(varValsAll)
252
263
maxlen = maximum (LEN)
You can’t perform that action at this time.
0 commit comments