Skip to content

keywords not being changed in model declaration function code #210

Description

@paciorek

We are not changing keywords (such as chol -> nChol) when compiling models.

This is because of the value of control$changeKeywords in NF_InternalsClass$initialize, which traces back to changeKeywords = is.null(compileInfo$C_fun) in nFunction() where this is a comment "by default, if C_fun is provided, don't change it, but user can override".

@perrydv : Shall I simply override this by modifying the control argument when we call nFunction from make_decl_method_nFxn?

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