Propagate for FLPar fails without warning if iters are present
colinpmillar opened this issue · 1 comments
colinpmillar commented
Propagate behaviour for FLQuants is that, if is the object has n
iters and you ask for n
iters you get the object back, which is quite nice :)
flq <- propagate(FLQuant(1), 2)
identical(flq, propagate(flq, 2))
## [1] TRUE
But for FLPar object we get an error
flp <- propagate(FLPar(1), 2)
propagate(flp, 2)
## Error in do.call("[<-", c(list(x = x@.Data), dx, list(value = value))) :
## number of items to replace is not a multiple of replacement length
Would it be possible to have the same behaviour for FLPar objects?
iagomosqueira commented
Sure, now added in commit 2520733