Skip to content

Commit

Permalink
style change
Browse files Browse the repository at this point in the history
  • Loading branch information
FMarno committed Feb 22, 2023
1 parent 87c3406 commit ece0cc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dft/backends/mklcpu/commit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class commit_derived_impl final : public detail::commit_impl<prec, dom> {

void commit(const detail::dft_values<prec, dom>& 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));
Expand Down

0 comments on commit ece0cc4

Please sign in to comment.