From ece0cc49ae480a551ec2aeb965369b40146e1e2c Mon Sep 17 00:00:00 2001 From: Finlay Marno Date: Wed, 22 Feb 2023 13:44:10 +0000 Subject: [PATCH] style change --- src/dft/backends/mklcpu/commit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dft/backends/mklcpu/commit.cpp b/src/dft/backends/mklcpu/commit.cpp index 73889e5ac..3483cc806 100644 --- a/src/dft/backends/mklcpu/commit.cpp +++ b/src/dft/backends/mklcpu/commit.cpp @@ -62,7 +62,8 @@ class commit_derived_impl final : public detail::commit_impl { void commit(const detail::dft_values& config_values) override { set_value(handle, config_values); - if (auto status = DftiCommitDescriptor(handle); status != DFTI_NO_ERROR) { + auto status = DftiCommitDescriptor(handle); + if (status != DFTI_NO_ERROR) { throw oneapi::mkl::exception( "dft/backends/mklcpu", "commit", "DftiCommitDescriptor failed with status: " + std::to_string(status));