File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
name = " DistributedFactorGraphs"
2
2
uuid = " b5cc3c7e-6572-11e9-2517-99fb8daf2f04"
3
- version = " 0.21.1 "
3
+ version = " 0.21.2 "
4
4
5
5
[deps ]
6
6
Base64 = " 2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ Retrieve solver data structure stored in a variable.
425
425
"""
426
426
function getSolverData (v:: DFGVariable , key:: Symbol = :default )
427
427
# TODO this does not fit in with some of the other error behaviour. but its used so added @error
428
- vnd = haskey (v . solverDataDict , key) ? v . solverDataDict [key] : (@error " Variable $(getLabel (v)) does not have solver data $(key) " ; nothing )
428
+ vnd = haskey (getSolverDataDict (v) , key) ? getSolverDataDict (v) [key] : (@error " Variable $(getLabel (v)) does not have solver data $(key) " ; nothing )
429
429
return vnd
430
430
end
431
431
Original file line number Diff line number Diff line change 267
267
function fncStringToData (packtype:: Type{<:AbstractPackedFactor} , data:: String )
268
268
269
269
# Read string as JSON object to use as kwargs
270
- fncData = JSON3. read (data)
270
+ fncData = JSON3. read (
271
+ if data[1 ] == ' {'
272
+ data
273
+ else
274
+ String (base64decode (data))
275
+ end
276
+ )
271
277
packT = packtype (;fncData. fnc... )
272
278
273
279
packed = GenericFunctionNodeData {packtype} (
You can’t perform that action at this time.
0 commit comments