emmt / lazyalgebra.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia package to extend the notion of vectors and matrices
License: Other
A Julia package to extend the notion of vectors and matrices
License: Other
For JuliaLang/julia@e3de4a8 I can no longer load this package. I'm seeing the following error
Precompiling project...
✗ LazyAlgebra
0 dependencies successfully precompiled in 1 seconds. 20 already precompiled.
1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package
[ Info: Precompiling LazyAlgebra [aeaa251e-9d76-11e9-311b-83636bf44738]
ERROR: LoadError: UndefVarError: libblas not defined
Stacktrace:
[1] include
@ ./Base.jl:424 [inlined]
[2] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
@ Base ./loading.jl:1614
[3] top-level scope
@ stdin:1
in expression starting at /home/lassepe/.julia/packages/LazyAlgebra/IpWMr/src/LazyAlgebra.jl:14
in expression starting at stdin:1
ERROR: Failed to precompile LazyAlgebra [aeaa251e-9d76-11e9-311b-83636bf44738] to /home/lassepe/.julia/compiled/v1.9/LazyAlgebra/jl_Kpm5FH.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:1765
[3] compilecache
@ ./loading.jl:1709 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1397
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1260
[6] macro expansion
@ ./loading.jl:1240 [inlined]
[7] macro expansion
@ ./lock.jl:267 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1204
I already installed LinearInterpolators and while compiling I'm getting the following error:
julia> using LinearInterpolators
[ Info: Precompiling LinearInterpolators [2fc109c4-9d77-11e9-32ff-e5c650334c16]
ERROR: LoadError: LoadError: UndefVarError: LazyAlgebraLowLevel not defined
Stacktrace:
[1] include at .\boot.jl:328 [inlined]
[2] include_relative(::Module, ::String) at .\loading.jl:1105
[3] include at .\Base.jl:31 [inlined]
[4] include(::String) at C:\Users\as.julia\packages\LinearInterpolators\xEBQM\src\LinearInterpolators.jl:16
[5] top-level scope at C:\Users\as.julia\packages\LinearInterpolators\xEBQM\src\LinearInterpolators.jl:61
[6] include at .\boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1105
[8] include(::Module, ::String) at .\Base.jl:31
[9] top-level scope at none:2
[10] eval at .\boot.jl:330 [inlined]
[11] eval(::Expr) at .\client.jl:425
[12] top-level scope at .\none:3
in expression starting at C:\Users\as.julia\packages\LinearInterpolators\xEBQM\src\interpolations.jl:36
in expression starting at C:\Users\as.julia\packages\LinearInterpolators\xEBQM\src\LinearInterpolators.jl:61
ERROR: Failed to precompile LinearInterpolators [2fc109c4-9d77-11e9-32ff-e5c650334c16] to C:\Users\
Stacktrace:
[1] compilecache(::Base.PkgId, ::String) at .\loading.jl:1283
[2] _require(::Base.PkgId) at .\loading.jl:1024
[3] require(::Base.PkgId) at .\loading.jl:922
[4] require(::Module, ::Symbol) at .\loading.jl:917
julia> using LazyAlgebra.LazyAlgebraLowLevel
ERROR: UndefVarError: LazyAlgebraLowLevel not defined
LoadError: UndefVarError: LazyAlgebraLowLevel not defined
in expression starting at C:\Users\
Thank you in advance.
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
Facing this issue when installing the package!
(@v1.9) pkg> add https://github.com/emmt/LazyAlgebra.jl
Updating git-repo `https://github.com/emmt/LazyAlgebra.jl`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ArrayTools [1dc0ca97]:
ArrayTools [1dc0ca97] log:
├─possible versions are: 0.3.0 or uninstalled
├─ArrayTools [1dc0ca97] is fixed to version 0.3.0
└─restricted to versions 0.2 by LazyAlgebra [aeaa251e] — no versions left
└─LazyAlgebra [aeaa251e] log:
├─possible versions are: 0.3.0 or uninstalled
└─LazyAlgebra [aeaa251e] is fixed to version 0.3.0
When multiplicating a Real32/64 Diag() operator with a complex operator, it shows an issue. It should be enabled.
The Floats
type used here is a union of AbstractFloats and Complex and is a very sensible type for the goals of this package. Unfortunately that union is not quite general enough to include Unitful vectors because such vector's elements are subtypes of Number
not of AbstractFloat
. So simple methods like vscale!
do not apply as currently written. MWE:
using LazyAlgebra
using Unitful: m
x = ones(5) * 1m
vscale!(x, 2)
ERROR: MethodError: no method matching vscale!(::Vector{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}}, ::Int64, ::Vector{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}})
It probably would be a major undertaking to support Unitful vectors here, so I am not really advocating for that.
But I am just reporting the issue here because it is relevant to another PR elsewhere:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.