JuliaMath / JuliaMath/FFTW.jl

using FFTW gives error depending on previous module

Open
#36 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
300
Forks
61
PR merge metrics
No merged PRs in 30d

Description

Any idea why this happens.

If I load `OhMyREPL` before `FFTW` I get this error.

```
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-DEV.1673 (2017-09-06 03:45 UTC)
_/ |\__'_|_|_|\__'_| | Commit f32499fa7e (0 days old master)
|__/ | x86_64-apple-darwin17.0.0

_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-DEV.1673 (2017-09-06 03:45 UTC)
_/ |\__'_|_|_|\__'_| | Commit f32499fa7e (0 days old master)
|__/ | x86_64-apple-darwin17.0.0

julia> using OhMyREPL

julia> using FFTW
WARNING: error while reinitializing value FFTW:
ErrorException("cannot assign variable DFT.FFTW from module Main")
WARNING: requiring "FFTW" in module "Main" did not define a corresponding module.
```

... but everything seems to work fine if I load `FFTW` first.

```
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-DEV.1673 (2017-09-06 03:45 UTC)
_/ |\__'_|_|_|\__'_| | Commit f32499fa7e (0 days old master)
|__/ | x86_64-apple-darwin17.0.0

julia> using FFTW

julia> using OhMyREPL

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.