-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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) | ||
|