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:
3487
3487
static size_t lookupTableSize (size_t fftSize) @nogc nothrow => fftSize* 2 ;
3488
3488
3489
3489
// /
3490
- unittest
3490
+ @system unittest
3491
3491
{
3492
3492
import std.complex : Complex;
3493
3493
enum size = 8 ;
@@ -3861,7 +3861,7 @@ public:
3861
3861
*/
3862
3862
this (size_t size) @nogc nothrow
3863
3863
{
3864
- import core.stdc.stdlib ;
3864
+ import core.stdc.stdlib : malloc ;
3865
3865
import core.exception : onOutOfMemoryError;
3866
3866
if (size == 0 )
3867
3867
{
@@ -3875,7 +3875,7 @@ public:
3875
3875
{
3876
3876
onOutOfMemoryError();
3877
3877
}
3878
- this (pStorage[0 .. bufferSize]);
3878
+ this (pStorage[0 .. bufferSize]);
3879
3879
}
3880
3880
}
3881
3881
@@ -3912,7 +3912,7 @@ public:
3912
3912
* The index of the `i`th lookup is `2^^i` and the length is also `2^^i`.
3913
3913
*/
3914
3914
3915
- memSpace[0 .. 2 ] = float .nan;
3915
+ memSpace[0 .. 2 ] = float .nan;
3916
3916
3917
3917
auto lastRow = memSpace[$ - size .. $];
3918
3918
lastRow[0 ] = 0 ; // -sin(0) == 0.
@@ -3956,7 +3956,7 @@ public:
3956
3956
// /
3957
3957
~this () @nogc nothrow
3958
3958
{
3959
- import core.stdc.stdlib ;
3959
+ import core.stdc.stdlib : free ;
3960
3960
free(pStorage);
3961
3961
}
3962
3962
You can’t perform that action at this time.
0 commit comments