Closed idontgetoutmuch closed 9 years ago
Hmm this seems like a strange julia 0.4 feature: typing out the function in KroneckerOperator.jl:126 does not trigger the bug. So I can’t actually narrow down what’s going on.
On 18 Apr 2015, at 10:15 pm, idontgetoutmuch notifications@github.com wrote:
I just ran the tests but one of them failed.
julia> Pkg.test("ApproxFun") INFO: Testing ApproxFun Fun tests ODE tests Vector tests Operator tests Singularities tests Definite Integral tests Spaces tests WARNING: Unable to do JacobiTest.jl since FastGaussQuadrature.jl is not installed Multivariate tests ERROR: LoadError: LoadError: TypeError: arrayset: expected ApproxFun.BandedOperator{Any}, got ApproxFun.Derivative{ApproxFun.CosSpace,Int64,Float64} in setindex! at array.jl:371 in getindex at array.jl:154 in convert at /Users/dom/.julia/v0.4/ApproxFun/src/Operators/calculus.jl:46 in convert at /Users/dom/.julia/v0.4/ApproxFun/src/PDE/KroneckerOperator.jl:126 in getindex at array.jl:154 in + at /Users/dom/.julia/v0.4/ApproxFun/src/PDE/KroneckerOperator.jl:291 in include at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in include_from_node1 at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in include at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in include_from_node1 at loading.jl:129 in process_options at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in _start at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib while loading /Users/dom/.julia/v0.4/ApproxFun/test/MultivariateTest.jl, in expression starting on line 103 while loading /Users/dom/.julia/v0.4/ApproxFun/test/runtests.jl, in expression starting on line 27
==============================[ ERROR: ApproxFun ]==============================
failed process: Process(
/usr/local/Cellar/julia/HEAD/bin/julia --check-bounds=yes --code-coverage=none --color=no /Users/dom/.julia/v0.4/ApproxFun/test/runtests.jl
, ProcessExited(1)) [1]INFO: No packages to install, update or remove ERROR: ApproxFun had test errors in error at error.jl:19 in test at pkg/entry.jl:719 in anonymous at pkg/dir.jl:29 in cd at file.jl:20 in cd at pkg/dir.jl:29 in test at pkg.jl:69 — Reply to this email directly or view it on GitHub https://github.com/ApproxFun/ApproxFun.jl/issues/167.
I would strongly advise against trying to use 0.4 yet: they are still making changes that will break software. E.g., I just updated to the latest build and now have to change (S,V) to Tuple{S,V} in a number of places.
On 19 Apr 2015, at 8:50 am, Sheehan Olver solver@me.com wrote:
Hmm this seems like a strange julia 0.4 feature: typing out the function in KroneckerOperator.jl:126 does not trigger the bug. So I can’t actually narrow down what’s going on.
On 18 Apr 2015, at 10:15 pm, idontgetoutmuch <notifications@github.com mailto:notifications@github.com> wrote:
I just ran the tests but one of them failed.
julia> Pkg.test("ApproxFun") INFO: Testing ApproxFun Fun tests ODE tests Vector tests Operator tests Singularities tests Definite Integral tests Spaces tests WARNING: Unable to do JacobiTest.jl since FastGaussQuadrature.jl is not installed Multivariate tests ERROR: LoadError: LoadError: TypeError: arrayset: expected ApproxFun.BandedOperator{Any}, got ApproxFun.Derivative{ApproxFun.CosSpace,Int64,Float64} in setindex! at array.jl:371 in getindex at array.jl:154 in convert at /Users/dom/.julia/v0.4/ApproxFun/src/Operators/calculus.jl:46 in convert at /Users/dom/.julia/v0.4/ApproxFun/src/PDE/KroneckerOperator.jl:126 in getindex at array.jl:154 in + at /Users/dom/.julia/v0.4/ApproxFun/src/PDE/KroneckerOperator.jl:291 in include at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in include_from_node1 at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in include at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in include_from_node1 at loading.jl:129 in process_options at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib in _start at /usr/local/Cellar/julia/HEAD/lib/julia/sys.dylib while loading /Users/dom/.julia/v0.4/ApproxFun/test/MultivariateTest.jl, in expression starting on line 103 while loading /Users/dom/.julia/v0.4/ApproxFun/test/runtests.jl, in expression starting on line 27
==============================[ ERROR: ApproxFun ]==============================
failed process: Process(
/usr/local/Cellar/julia/HEAD/bin/julia --check-bounds=yes --code-coverage=none --color=no /Users/dom/.julia/v0.4/ApproxFun/test/runtests.jl
, ProcessExited(1)) [1]INFO: No packages to install, update or remove ERROR: ApproxFun had test errors in error at error.jl:19 in test at pkg/entry.jl:719 in anonymous at pkg/dir.jl:29 in cd at file.jl:20 in cd at pkg/dir.jl:29 in test at pkg.jl:69 — Reply to this email directly or view it on GitHub https://github.com/ApproxFun/ApproxFun.jl/issues/167.
Ok I have gone back to 0.3.6 but I haven't tried the tests. If I get chance I will and if they fail I will raise another ticket.
I just ran the tests but one of them failed.