Coder Social home page Coder Social logo

lazyalgebra.jl's People

Contributors

emmt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

navidcy

lazyalgebra.jl's Issues

Broken on Julia nightly

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

ERROR: Unsatisfiable requirements detected for package ArrayTools

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

TagBot trigger issue

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!

LazyAlgebraLowLevel not defined while importing LinearInterpolators

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.

Type `Floats` cannot support Unitful vectors

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:

emmt/LinearInterpolators.jl#9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.