diff --git a/CMakeLists.txt b/CMakeLists.txt index e2750a84254497bceee6a8ae1a184e0e47123e61..d295a9c9bb9a55313c80d686feb5b8d070bc9141 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -190,7 +190,7 @@ if(WITH_FFTW) get_filename_component(_name ${_file} DIRECTORY) list(FIND dirlist ${_name} isin) if(isin EQUAL -1) - list(APPEND dirlist ${_name}) + list(APPEND dirlist ${_name}) endif() endforeach() set(FFTWLIB ${dirlist} CACHE PATH "fftw libraries dir") diff --git a/cmake/FindFFTW.cmake b/cmake/FindFFTW.cmake index cfef1dff0a491254d77d9f48736b46ab73e635bd..74af7a02e5f76c32147de5f9352264695f53097d 100644 --- a/cmake/FindFFTW.cmake +++ b/cmake/FindFFTW.cmake @@ -11,7 +11,7 @@ # # Possible component names: fftw3[fdlq](-(mpi|threads|omp))\?, where case doesn't matter # and [fdlq] stands for f=float, d=double, l=long double, q=gcc quad long -# Note that the only exeption is fftw3q-mpi which doesn't exist at this day. +# Note that the only exception is fftw3q-mpi which doesn't exist at this day. # # == Full example == # set(FIND_FFTW_VERBOSE ON) (optional) diff --git a/setup.py.in b/setup.py.in index 0c6c36648b63bb1fa322290421a562b59a678f1f..4f3336ba882f6b1dcad97bd7257a4cce51e80967 100644 --- a/setup.py.in +++ b/setup.py.in @@ -79,7 +79,7 @@ def create_fortran_extension(name, pyf_file=None, src_dirs=None, sources=None, if pyf_file is not None: sources.append(pyf_file) sources = sort_f90.sort(sources) - if debug_mode == 0: + if debug_mode > 0: options.append(('F2PY_REPORT_ON_ARRAY_COPY', '1')) if os.uname()[0] == 'Linux': options.append(('F2PY_REPORT_ATEXIT', '1'))