Skip to content

"n" not rounded down in fnGenPatData.R #160

@PeterJacko

Description

@PeterJacko

In fnGenPatData.R, the following code:

if (n %% 1 != 0) {
  floor(n)
  warning('WARNING: n was rounded down')
}

actually doesn't round "n" down, it would need to say

n <- floor(n)

Currently this does not affect the performance of SIMPLE because this function is called with n=1, but...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions