kuwisdelu / matter

Out-of-core statistical computing and signal processing
http://www.cardinalmsi.org
54 stars 4 forks source link

`if` missing closing '}' #26

Closed shaman-yellow closed 2 months ago

shaman-yellow commented 2 months ago

Oh! There is an obvious error in your latest version that prevents me from installing it!

https://github.com/kuwisdelu/matter/blob/devel/R/sgmix.R

        if ( is.matrix(vals) ) {
        ans <- chunkApply(vals, margin, sgmix_int,
            x=x, y=y, r=r, k=k, ...,
        #  Line 371                                ^
    if ( is.list(vals) ) {
        ans <- chunkLapply(vals, sgmix_int,
            x=x, y=y, r=r, k=k, ...,
            nchunks=nchunks, verbose=verbose,
            RNG=TRUE, BPPARAM=BPPARAM)
    }
kuwisdelu commented 2 months ago

Fixed by https://github.com/kuwisdelu/matter/commit/d1d48e1d256827252bd04021cbc314e578000837

For this kind of simple fix, you can always just submit a pull request.