QuantEcon / lecture-source-jl

Source files for "Lectures in Quantitative Economics" -- Julia version
https://julia.quantecon.org
BSD 3-Clause "New" or "Revised" License
131 stars 53 forks source link

Fix error in Arrays, Tuples, Ranges, and Other Fundamental Types #358

Closed yolsever closed 6 years ago

yolsever commented 6 years ago

The last code-block, namely

` using QuantEcon

norm(our_solution - solve_discrete_lyapunov(A, Σ * Σ')) `

is failing in the notebook with error:

Info: Recompiling stale cache file /home/mmcky/.julia/compiled/v1.0/QuantEcon/V0Mv9.ji for QuantEcon [fcd29c91-0bd7-5a09-975d-7ac3f643a60c] └ @ Base loading.jl:1187 ERROR: LoadError: MethodError: no method matching getindex(::ErrorException, ::Int64)

jlperla commented 6 years ago

Does this fail when you run it yourself, or are you reporting that the automatic running is failing in the build?

arnavs commented 6 years ago

Works on the local machine with no errors and the answer corresponds to what's on the build server, so closing.