Skip to content

Commit 40c6dbc

Browse files
authored
Split Quaternion.jl and Octonion.jl (#192)
1 parent 6d5c4d6 commit 40c6dbc

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

test/Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
66
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
77
IterativeSolvers = "42fd0dbc-a981-5370-80f2-aaf504508153"
88
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
9+
Octonions = "d00ba074-1e29-4f5e-9fd4-d67071d6a14d"
910
Quaternions = "94ee1d12-ae83-5a48-8b1c-48b8ff168ae0"
1011
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1112
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1213
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1314

1415
[compat]
15-
Aqua = "0.5"
16+
Aqua = "0.5, 0.6"
1617
BlockArrays = "0.16"
1718
ChainRulesCore = "1"
1819
ChainRulesTestUtils = "1.9"
19-
Quaternions = "0.5"
20+
Octonions = "0.1"
21+
Quaternions = "0.5, 0.6, 0.7"
2022
julia = "1.6"

test/conversion.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Test, LinearMaps, LinearAlgebra, SparseArrays, Quaternions
1+
using Test, LinearMaps, LinearAlgebra, SparseArrays
2+
using Quaternions: Quaternion
23

34
@testset "conversion" begin
45
A = 2 * rand(ComplexF64, (20, 10)) .- 1

test/numbertypes.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using Test, LinearMaps, LinearAlgebra, Quaternions
1+
using Test, LinearMaps, LinearAlgebra
2+
using Quaternions: Quaternion, quat
3+
using Octonions: Octonion
24

35
@testset "noncommutative number type" begin
46
x = Quaternion.(rand(10), rand(10), rand(10), rand(10))

0 commit comments

Comments
 (0)