Typo and unreachable code in lib.tmpl.py
Bug #545539 reported by
Andrew Collette
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyFFTW |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The initialization code in lib.tmpl.py contains a typo ("eviron") which skips straight to the except clause. This stuff appears to be done in setup.py anyway. The attached patch removes it.
Related branches
To post a comment you must log in.
Thanks for reporting. Removing the environ check is not correct though, as it would prevent specifying the fftw3 location at runtime. Anyway I've improved the whole checking for fftw and it should work now (at least it does on my machine).