@@ -390,9 +390,9 @@ pts_ = approxConv(fg, :x0x1f1, :x0)
390
390
# #
391
391
392
392
tfg = initfg ()
393
- for s in ls (fg)
394
- initVariable! (fg, s, [0.1 .* zeros (2 ) for _ in 1 : 100 ])
395
- end
393
+ # for s in ls(fg)
394
+ # initVariable!(fg, s, [0.1.*zeros(2) for _ in 1:100])
395
+ # end
396
396
397
397
pts = approxConv (fg, :x0f1 , :x7 , setPPE= true , tfg= tfg)
398
398
initVariable! (tfg, :x7 , pts)
@@ -413,16 +413,23 @@ initVariable!(tfg, :x7, pts)
413
413
@error " Disabling useMsgLikelihood for DERelative test, follow fix on #1010 as rough guide"
414
414
getSolverParams (fg). useMsgLikelihoods = false
415
415
416
- solveTree! (fg);
416
+ smtasks = Task[]
417
+ tree = solveTree! (fg; recordcliqs= ls (fg), smtasks);
418
+
419
+ hists = fetchCliqHistoryAll! (smtasks)
420
+ printCSMHistoryLogical (hists)
421
+
422
+ _, csmc = repeatCSMStep! (hists[2 ], 6 ; duplicate= true );
423
+
417
424
418
425
# #
419
426
420
427
# solveTree has weird problem in breaking correct init and inserting zeros???
421
- @test_broken isapprox ( getPPESuggested (fg, :x0 ), x0_val_ref; atol= 0.2 )
422
- @test_broken isapprox ( getPPESuggested (fg, :x1 ), x1_val_ref; atol= 0.2 )
423
- @test_broken isapprox ( getPPESuggested (fg, :x2 ), x2_val_ref; atol= 0.2 )
424
- @test_broken isapprox ( getPPESuggested (fg, :x3 ), x3_val_ref; atol= 0.2 )
425
- @test_broken isapprox ( getPPESuggested (fg, :x4 ), x4_val_ref; atol= 0.2 )
428
+ @test isapprox ( getPPESuggested (fg, :x0 ), x0_val_ref; atol= 0.2 )
429
+ @test isapprox ( getPPESuggested (fg, :x1 ), x1_val_ref; atol= 0.2 )
430
+ @test isapprox ( getPPESuggested (fg, :x2 ), x2_val_ref; atol= 0.2 )
431
+ @test isapprox ( getPPESuggested (fg, :x3 ), x3_val_ref; atol= 0.2 )
432
+ @test isapprox ( getPPESuggested (fg, :x4 ), x4_val_ref; atol= 0.2 )
426
433
427
434
@test isapprox ( getPPESuggested (fg, :x5 ), x5_val_ref; atol= 0.2 )
428
435
@test isapprox ( getPPESuggested (fg, :x6 ), x6_val_ref; atol= 0.2 )
0 commit comments