Skip to content

CBH interface and improvements #24

Description

@inakleinbottle

The cbh.full function has a rather frustrating interface that takes a reference to a vector of const Lie *. This is problematic because a vector of Lie * cannot be converted to a vector of const Lie*, and thus requires an additional step of constructing a vector of const Lie* from the presumably already existing vector of Lie increments.

Instead, the interface should follow that used in <algorithms> and take two templated arguments to an input iterator type where the items are Lie or const Lie. This won't substantially change the way the function works so there is no particular reason to not do this.

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