Skip to content

Build fails when I tried to disable exceptions with XTENSOR_DISABLE_EXCEPTIONS #171

@luk036

Description

@luk036

When I tried to disable exceptions by setting the XTENSOR_DISABLE_EXCEPTIONS macro, I found that xtensor-blas` did not follow the rule. When I replace the statement:

throw std::runtime_error(

with

XTENSOR_THROW(std::runtime_error,

in all files, it works.

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