Skip to content

Problem with shuffle #1

Description

@Asif-Iqbal-Bhatti

Hi,
Thanks for making the code public. While running the code. It displays the following error. Did you face this error?

┌ Warning: Replacing docs for Main.WCSRO.initialize :: Tuple{Any} in module Main.WCSRO
└ @ Base.Docs docs/Docs.jl:227
┌ Warning: Replacing docs for Main.WCSRO.get_pair_key :: Tuple{Any,Any} in module Main.WCSRO
└ @ Base.Docs docs/Docs.jl:227
┌ Warning: Replacing docs for Main.WCSRO.initialize :: Tuple{Any} in module Main.WCSRO
└ @ Base.Docs docs/Docs.jl:227
┌ Warning: Replacing docs for Main.WCSRO.get_pair_key :: Tuple{Any,Any} in module Main.WCSRO
└ @ Base.Docs docs/Docs.jl:227
ERROR: LoadError: MethodError: no method matching shuffle(::Main.WCSRO.Initializer)
Closest candidates are:
shuffle(::Random.AbstractRNG, ::AbstractArray) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Random/src/misc.jl:251
shuffle(::AbstractArray) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Random/src/misc.jl:252
Stacktrace:
[1] shuffle_atoms(::Main.WCSRO.Initializer, ::Int64) at /mnt/c/Users/Asif_EM/Desktop/WCSRO/src/atom_shuffle.jl:13
[2] top-level scope at /mnt/c/Users/Asif_EM/Desktop/WCSRO/src/WCSRO.jl:26
[3] include(::Function, ::Module, ::String) at ./Base.jl:380
[4] include(::Module, ::String) at ./Base.jl:368
[5] exec_options(::Base.JLOptions) at ./client.jl:296
[6] _start() at ./client.jl:506

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions