File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3487,7 +3487,7 @@ public:
34873487 static size_t lookupTableSize (size_t fftSize) @nogc nothrow => fftSize* 2 ;
34883488
34893489 // /
3490- unittest
3490+ @system unittest
34913491 {
34923492 import std.complex : Complex;
34933493 enum size = 8 ;
@@ -3861,7 +3861,7 @@ public:
38613861 */
38623862 this (size_t size) @nogc nothrow
38633863 {
3864- import core.stdc.stdlib ;
3864+ import core.stdc.stdlib : malloc ;
38653865 import core.exception : onOutOfMemoryError;
38663866 if (size == 0 )
38673867 {
@@ -3875,7 +3875,7 @@ public:
38753875 {
38763876 onOutOfMemoryError();
38773877 }
3878- this (pStorage[0 .. bufferSize]);
3878+ this (pStorage[0 .. bufferSize]);
38793879 }
38803880 }
38813881
@@ -3912,7 +3912,7 @@ public:
39123912 * The index of the `i`th lookup is `2^^i` and the length is also `2^^i`.
39133913 */
39143914
3915- memSpace[0 .. 2 ] = float .nan;
3915+ memSpace[0 .. 2 ] = float .nan;
39163916
39173917 auto lastRow = memSpace[$ - size .. $];
39183918 lastRow[0 ] = 0 ; // -sin(0) == 0.
@@ -3956,7 +3956,7 @@ public:
39563956 // /
39573957 ~this () @nogc nothrow
39583958 {
3959- import core.stdc.stdlib ;
3959+ import core.stdc.stdlib : free ;
39603960 free(pStorage);
39613961 }
39623962
You can’t perform that action at this time.
0 commit comments