Skip to content

Commit efa50f7

Browse files
committed
bug fix cf sfidx
1 parent 5a0b7e8 commit efa50f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/CalcFactor.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,10 @@ function _beforeSolveCCW!(
553553

554554
# setup the partial or complete decision variable dimensions for this ccwl object
555555
# NOTE perhaps deconv has changed the decision variable list, so placed here during consolidation phase
556-
_setCCWDecisionDimsConv!(ccwl, getDimension(getVariableType(Xi[sfidx])))
556+
_setCCWDecisionDimsConv!(ccwl, getDimension(getVariableType(Xi[ccwl.varidx[]])))
557557

558-
solveForPts = getVal(Xi[sfidx]; solveKey)
559-
maxlen = maximum([N; length(solveForPts); length(ccwl.varValsAll[sfidx])]) # calcZDim(ccwl); length(measurement[1])
558+
solveForPts = getVal(Xi[ccwl.varidx[]]; solveKey)
559+
maxlen = maximum([N; length(solveForPts); length(ccwl.varValsAll[ccwl.varidx[]])]) # calcZDim(ccwl); length(measurement[1])
560560

561561
# FIXME do not divert Mixture for sampling
562562
# update ccwl.measurement values

0 commit comments

Comments
 (0)