Skip to content

using FFTW gives error depending on previous module #36

Open
@EthanAnderes

Description

@EthanAnderes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions