Closed luk036 closed 3 years ago
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:
XTENSOR_DISABLE_EXCEPTIONS
throw std::runtime_error(
with
XTENSOR_THROW(std::runtime_error,
in all files, it works.
Thanks for reporting. That's indeed a feature we forgot to implement in xtenosr-blas.
Fixed in #172
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.