Skip to content

Commit

Permalink
Merge branch 'master' into sparsearrays-triangular-operations
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausC committed Aug 7, 2018
2 parents b0b3688 + f92a55a commit 88f364c
Show file tree
Hide file tree
Showing 7 changed files with 1,751 additions and 1,717 deletions.
1,738 changes: 1,738 additions & 0 deletions HISTORY.md

Large diffs are not rendered by default.

1,716 changes: 4 additions & 1,712 deletions NEWS.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-DEV
1.0.0-rc1
2 changes: 1 addition & 1 deletion base/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ iterate(::ProductIterator{Tuple{}}, state) = nothing
@inline isdone(P::ProductIterator) = any(isdone, P.iterators)
@inline function _pisdone(iters, states)
iter1 = first(iters)
done1 = isdone(iter1, first(states)) # check step
done1 = isdone(iter1, first(states)[2]) # check step
done1 === true || return done1 # false or missing
done1 = isdone(iter1) # check restart
done1 === true || return done1 # false or missing
Expand Down
2 changes: 1 addition & 1 deletion doc/src/manual/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ for cases where you don't need a more elaborate hierarchy.
julia> struct Val{x}
end
julia> Base.@pure Val(x) = Val{x}()
julia> Val(x) = Val{x}()
Val
```

Expand Down
5 changes: 4 additions & 1 deletion stdlib/LinearAlgebra/src/qr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,10 @@ solution and if the solution is not unique, the one with smallest norm is return
Multiplication with respect to either full/square or non-full/square `Q` is allowed, i.e. both `F.Q*F.R`
and `F.Q*A` are supported. A `Q` matrix can be converted into a regular matrix with
[`Matrix`](@ref).
[`Matrix`](@ref). This operation returns the "thin" Q factor, i.e., if `A` is `m`×`n` with `m>=n`, then
`Matrix(F.Q)` yields an `m`×`n` matrix with orthonormal columns. To retrieve the "full" Q factor, an
`m`×`m` orthogonal matrix, use `F.Q*Matrix(I,m,m)`. If `m<=n`, then `Matrix(F.Q)` yields an `m`×`m`
orthogonal matrix.
# Examples
```jldoctest
Expand Down
3 changes: 2 additions & 1 deletion test/iterators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ let iters = (1:2,
rand(2, 2, 2),
take(1:4, 2),
product(1:2, 1:3),
product(rand(2, 2), rand(1, 1, 1))
product(rand(2, 2), rand(1, 1, 1)),
repeated([1, -1], 2) # 28497
)
for method in [size, length, ndims, eltype]
for i = 1:length(iters)
Expand Down

0 comments on commit 88f364c

Please sign in to comment.