From fb588926feb58d0412daecee78ce5abc68ffde47 Mon Sep 17 00:00:00 2001 From: Tom Gillam Date: Fri, 9 Feb 2024 14:00:44 +0000 Subject: [PATCH] Format --- src/cga.jl | 4 ++-- src/core31.jl | 2 +- src/ga20.jl | 4 ++-- src/ga24.jl | 4 ++-- src/ga30.jl | 4 ++-- src/ga31.jl | 4 ++-- src/ga3232.jl | 2 +- src/ga33.jl | 4 ++-- src/ga40.jl | 4 ++-- src/ga44.jl | 2 +- src/pga.jl | 4 ++-- src/sta.jl | 4 ++-- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/cga.jl b/src/cga.jl index cc7e13e..3d6c7dd 100644 --- a/src/cga.jl +++ b/src/cga.jl @@ -90,7 +90,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -148,7 +148,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module diff --git a/src/core31.jl b/src/core31.jl index d8dbad5..e582201 100644 --- a/src/core31.jl +++ b/src/core31.jl @@ -76,7 +76,7 @@ Base.:(+)(num::Real, a::Even) = Even(a.c1 + num, a.c2, a.c3, a.c4 + num) Base.:(-)(num::Real, a::Even) = Even(-a.c1 + num, -a.c2, -a.c3, -a.c4 + num) #Multiplication -Base.:(*)(num::Real, a::Even) =Even(num * a.c1, num * a.c2, num * a.c3, num * a.c4) +Base.:(*)(num::Real, a::Even) = Even(num * a.c1, num * a.c2, num * a.c3, num * a.c4) Base.:(*)(num::Real, a::Odd) = Odd(num * a.c1, num * a.c2, num * a.c3, num * a.c4) function Base.:(*)(a::Even, b::Even) diff --git a/src/ga20.jl b/src/ga20.jl index 492af12..33142cd 100644 --- a/src/ga20.jl +++ b/src/ga20.jl @@ -36,7 +36,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -50,7 +50,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module diff --git a/src/ga24.jl b/src/ga24.jl index d90af7c..d12b4b1 100644 --- a/src/ga24.jl +++ b/src/ga24.jl @@ -64,7 +64,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -89,7 +89,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module diff --git a/src/ga30.jl b/src/ga30.jl index 014ee76..d74dde9 100644 --- a/src/ga30.jl +++ b/src/ga30.jl @@ -36,7 +36,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -54,7 +54,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end diff --git a/src/ga31.jl b/src/ga31.jl index 810357f..1deff83 100644 --- a/src/ga31.jl +++ b/src/ga31.jl @@ -44,7 +44,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -65,7 +65,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module diff --git a/src/ga3232.jl b/src/ga3232.jl index 7e4645c..ae439f8 100644 --- a/src/ga3232.jl +++ b/src/ga3232.jl @@ -112,7 +112,7 @@ function Base.show(io::IO, mv::Multivector) tp = " + " * string(blds[i].val) * bdptype(blds[i].bas) res *= tp end - print(io, res) + return print(io, res) end end #Module diff --git a/src/ga33.jl b/src/ga33.jl index 1bca802..94e0f5f 100644 --- a/src/ga33.jl +++ b/src/ga33.jl @@ -64,7 +64,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -101,7 +101,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module diff --git a/src/ga40.jl b/src/ga40.jl index 354688a..73eee7a 100644 --- a/src/ga40.jl +++ b/src/ga40.jl @@ -54,7 +54,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -88,7 +88,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module diff --git a/src/ga44.jl b/src/ga44.jl index f803b93..72fc817 100644 --- a/src/ga44.jl +++ b/src/ga44.jl @@ -107,7 +107,7 @@ function Base.show(io::IO, mv::Multivector) tp = " + " * string(blds[i].val) * bdptype(blds[i].bas) res *= tp end - print(io, res) + return print(io, res) end end #Module diff --git a/src/pga.jl b/src/pga.jl index e6b59d6..c9712d8 100644 --- a/src/pga.jl +++ b/src/pga.jl @@ -42,7 +42,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -58,7 +58,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end # Module diff --git a/src/sta.jl b/src/sta.jl index f3f559d..dc496f3 100644 --- a/src/sta.jl +++ b/src/sta.jl @@ -62,7 +62,7 @@ function Base.show(io::IO, a::Even) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end function Base.show(io::IO, a::Odd) @@ -96,7 +96,7 @@ function Base.show(io::IO, a::Odd) else res = chop(res; head=3, tail=0) end - print(io, res) + return print(io, res) end end #Module