Skip to content

nSvd fails in compilation processing #144

@paciorek

Description

@paciorek
go = nFunction(
        fun = function(x = 'numericMatrix') {
            y <- svd(x, vectors='full')$d
          return(y)
        },
        returnType = 'numericVector'
  )
cgo=nCompile(go)
cgo(diag(2))
An error occurred in compiler stage labelAbstractTypes (for method or nFunction nFun_8_NFID_12):
missing value where TRUE/FALSE needed

Error in if (argType$nDim != 0 || argType$type != "integer") { : 
  missing value where TRUE/FALSE needed

I will investigate later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions