Skip to content

Check for silent vector recycling? #167

@joshwlambert

Description

@joshwlambert

In some functions there is the risk of silently recycling vector elements, e.g. in incubation_to_generation_time() as spotted in a PR comment.

We need to determine if vectors of different lengths can cause issues in exported functions, and whether vectors of unequal length can be passed to internal functions, the latter to determine if checks are required in these internal functions.

A code suggestion for the checks was made in PR #142.

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