Skip to content

Ambiguities with between C/C++/stan pow implementations #1809

Description

@bbbales2

Description

There are ambiguities between different pow implementations causing us problems with the complex funs pull request: #1774 (comment)

And these ambiguities are causing problems with this branch: #1804 (comment)

Expected Output

Tests should work

Currently:

using namespace stan::math;
pow(1.0, 1)

Fails to compile.

We'd like these both to work:

using namespace stan::math;
pow(1.0, 1);
using namespace stan::math;
using std::pow;
pow(1.0, 1);

Current Version:

v3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions