diff --git a/Project.toml b/Project.toml index ad60eff..3499df2 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JOLI" uuid = "bb331ad6-a1cf-11e9-23da-9bcb53c69f6f" authors = ["Henryk Modzelewski "] -version = "0.8.2" +version = "0.8.3" [deps] Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" diff --git a/src/JOLI.jl b/src/JOLI.jl index 7dda0dd..c416076 100644 --- a/src/JOLI.jl +++ b/src/JOLI.jl @@ -74,7 +74,7 @@ import Base.getindex # what's imported from LinearAlgebra -import LinearAlgebra.norm +import LinearAlgebra.norm, LinearAlgebra.AbstractQ import LinearAlgebra.issymmetric, LinearAlgebra.ishermitian import LinearAlgebra.mul!, LinearAlgebra.ldiv! diff --git a/src/joAbstractDAparallelLinearOperator/constructors.jl b/src/joAbstractDAparallelLinearOperator/constructors.jl index fbc274b..8f54a52 100644 --- a/src/joAbstractDAparallelLinearOperator/constructors.jl +++ b/src/joAbstractDAparallelLinearOperator/constructors.jl @@ -35,7 +35,7 @@ Create a linear operator working on 2D DArray in multi-vector (over 2nd dimensio """ function joDAdistributedLinOp(A::joAbstractLinearOperator{DDT,RDT},psin::joPAsetup, - fclean::Bool=false,rclean::Bool=false) where {DDT<:Number,RDT<:Number,INT<:Integer} + fclean::Bool=false,rclean::Bool=false) where {DDT<:Number,RDT<:Number} psin.chunks[1]==1 || throw(joDAdistributedLinearOperatorException("joDAdistributedLinearOperator: invalid joPAsetup - must not be distributed in 1st dimension")) A.n==psin.dims[1] || throw(joDAdistributedLinearOperatorException("joDAdistributedLinearOperator: invalid joPAsetup - 1st dimension off joPAsetup does not match size(A,2)")) diff --git a/src/joAbstractLinearOperator/constructors.jl b/src/joAbstractLinearOperator/constructors.jl index d8e35ee..bd81841 100644 --- a/src/joAbstractLinearOperator/constructors.jl +++ b/src/joAbstractLinearOperator/constructors.jl @@ -8,7 +8,7 @@ """ joMatrix outer constructor - joMatrix(array::AbstractMatrix; + joMatrix(array::Union{AbstractMatrix,AbstractQ}; DDT::DataType=eltype(array), RDT::DataType=promote_type(eltype(array),DDT), name::String="joMatrix") @@ -26,7 +26,7 @@ Look up argument names in help to joMatrix type. - if RDT:0 || throw(joPAsetupException("joPAsetup: invalid lenght of the vector: $n")) dims=(n,) chunks=joPAsetup_etc.default_chunks(dims,sort(workers(wpool)))