Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyfle committed Nov 18, 2024
1 parent 18abce6 commit e125c20
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/owl/fftpack/owl_fftpack_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
* Copyright (c) 2016-2022 Liang Wang <[email protected]>
*/

Moved definition of functions away from extern code.

- Moved the definition of the C functions outside the extern C,
while preserved their declaration inside the extern C code.

This is an attempt to fix the compilation under MacOS.
#ifdef Treal

#ifdef CAML_COMPATIBILITY_H
Expand All @@ -21,10 +15,10 @@ Moved definition of functions away from extern code.
#define invalid_argument caml_invalid_argument
#endif

/** Owl's interface function to pocketfft **/
/** Adapted from scipy's pypocketfft.cxx **/
/** Owl's interface function to pocketfft **/
/** Adapted from scipy's pypocketfft.cxx **/

using namespace pocketfft::detail;
using namespace pocketfft::detail;

template <typename T>
T norm_fct(int inorm, size_t N)
Expand Down

0 comments on commit e125c20

Please sign in to comment.