Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
f1d34c4c
Commit
f1d34c4c
authored
May 21, 2017
by
Martin Reinecke
Browse files
faster CI, fewer warnings
parent
1145c9c3
Pipeline
#12731
passed with stage
in 4 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f1d34c4c
...
...
@@ -16,35 +16,18 @@ before_script:
-
pip install --upgrade -r ci/requirements.txt
test_
min
:
test_
all
:
stage
:
test
script
:
-
python setup.py build_ext --inplace
-
nosetests -vv
test_mpi
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
python setup.py build_ext --inplace
-
nosetests -vv
test_mpi_fftw
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
ci/install_pyfftw.sh
-
python setup.py build_ext --inplace
-
nosetests -vv
test_mpi_fftw_hdf5
:
stage
:
test
script
:
-
ci/install_pyHealpix.sh
-
ci/install_mpi4py.sh
-
ci/install_pyfftw.sh
-
ci/install_h5py.sh
-
python setup.py build_ext --inplace
-
nosetests -vv --with-coverage --cover-package=nifty --cover-branches
...
...
nifty/operators/fft_operator/transformations/rg_transforms.py
View file @
f1d34c4c
...
...
@@ -433,10 +433,10 @@ class FFTW(Transform):
not
all
(
axis
in
range
(
len
(
val
.
shape
))
for
axis
in
axes
):
raise
ValueError
(
"Provided axes does not match array shape"
)
if
val
.
dtype
not
in
(
np
.
float
,
np
.
complex
):
self
.
logger
.
warn
(
"The input array has dtype: %s. The FFT will "
"be performed at double precision."
%
str
(
val
.
dtype
))
#
if val.dtype not in (np.float, np.complex):
#
self.logger.warn("The input array has dtype: %s. The FFT will "
#
"be performed at double precision." %
#
str(val.dtype))
# If the input is a numpy array we transform it locally
if
not
isinstance
(
val
,
distributed_data_object
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment