You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(fft): Fix GridSpacing initializers in backend selection tests
Changed single-value initializers {N} to proper 3D format {N, N, N}
for GridSize, PhysicalOrigin, and GridSpacing in all backend
selection test cases. Single-value initializers only set the first
dimension, leaving y=0 and z=0, which fails coordinate system
validation requiring spacing > 0 in all dimensions.
Fixed in 6 test cases:
- FFTW backend selection: {8, 8, 8}
- FFTW forward/backward transform: {8, 8, 8}
- CUDA backend selection: {8, 8, 8}
- CUDA requires DataBuffer: {8, 8, 8}
- Timing functions work: {8, 8, 8}
- Size queries work: {16, 16, 16}
Also added .0 suffix to make Real3 type usage explicit.
Fixes "Spacing must be positive" test failures.
0 commit comments