Expected "end" error while loading a module

Sh_166
Tue, 04 Apr 2023 10:58:15 +0000
General Usage

I am having the following problem loading a module:

LoadError: syntax: "module" at C:\Users\shiha\LyapunovExponentsWithForwardDiff.jl:1 expected "end", got "LyapunovExponentsResult"
in expression starting at C:\Users\shiha\LyapunovExponentsWithForwardDiff.jl:9

Stacktrace:
 [1] top-level scope
   @ C:\Users\shiha\LyapunovExponentsWithForwardDiff.jl:9
 [2] include(fname::String)
   @ Base.MainInclude .\client.jl:476
 [3] top-level scope
   @ In[61]:1
 [4] eval
   @ .\boot.jl:368 [inlined]
 [5] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
   @ Base .\loading.jl:1428

The module I am trying to load is here. I can’t understand where the missing “end” is.

I am trying to load the module using:

include(“LyapunovExponentsWithForwardDiff.jl”)

Thanks in advance!!

3 posts - 2 participants