Skip to content

Commit 35d62ea

Browse files
Fix and test QR
1 parent 8b2a3c8 commit 35d62ea

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/function_registration.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Base.:^(x::Expression,y::T) where T <: Rational = Operation(Base.:^, Expression[
8484
@register Base.conj(x)
8585
@register Base.getindex(x,i)
8686
@register Base.binomial(n,k)
87+
@register Base.copysign(x,y)
8788

8889
Base.getindex(x::Operation,i::Int64) = Operation(getindex,[x,i])
8990
Base.one(::Operation) = 1

test/operation_overloads.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ X = [a b;c d]
1010
det(X)
1111
lu(X)
1212
inv(X)
13+
qr(X)
1314

1415
# test operations with sparse arrays and Operations
1516
# note `isequal` instead of `==` because `==` would give another Operation

0 commit comments

Comments
 (0)