Skip to content

No method matching Array #2

@simoman20

Description

@simoman20

I tried to follow the steps given, but I couldn't get past this error message. I'm running on julia 1.3.1.

$ julia fit.jl > fit.out
ERROR: LoadError: MethodError: no method matching Array(::Type{Float64}, ::Int64, ::Int64)
Closest candidates are:
Array(!Matched::LinearAlgebra.UniformScaling, ::Integer, ::Integer) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.3/LinearAlgebra/src/uniformscaling.jl:397

Stacktrace:
[1] traindata() at /Users/username/.julia/packages/MNIST/amnnA/src/MNIST.jl:86
[2] top-level scope at /Users/username/Downloads/jostmey-RestrictedBoltzmannMachine-bdd9a94/fit.jl:19
[3] include at ./boot.jl:328 [inlined]

[4] include_relative(::Module, ::String) at ./loading.jl:1105
[5] include(::Module, ::String) at ./Base.jl:31
[6] exec_options(::Base.JLOptions) at ./client.jl:287
[7] _start() at ./client.jl:460
in expression starting at /Users/username/Downloads/jostmey-RestrictedBoltzmannMachine-bdd9a94/fit.jl:19

Any ideas?

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