Skip to content

Commit 223a390

Browse files
committed
Rename reflection to _reflection
1 parent d923264 commit 223a390

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Groups/spinor_norms.jl

+7-7
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ end
118118
119119
Return the matrix representation of the orthogonal reflection in the row vector `v`.
120120
"""
121-
function reflection(gram::MatElem, v::MatElem)
121+
function _reflection(gram::MatElem, v::MatElem)
122122
n = ncols(gram)
123123
E = identity_matrix(base_ring(gram), n)
124124
c = base_ring(gram)(2) * ((v * gram * transpose(v)))[1,1]^(-1)
@@ -154,7 +154,7 @@ function spin(gram_diag::MatElem, isometry::MatElem, check::Bool=true)
154154
r = v - w
155155
s = r * G * transpose(r)
156156
if !iszero(s)
157-
tau = reflection(G, r)
157+
tau = _reflection(G, r)
158158
f = f * tau
159159
@assert w * f == w
160160
spinor_norm *= s
@@ -164,8 +164,8 @@ function spin(gram_diag::MatElem, isometry::MatElem, check::Bool=true)
164164
r2 = v
165165
s2 = r2 * G * transpose(r2)/2
166166
@assert !iszero(s1) && !iszero(s2)
167-
tau1 = reflection(G, r1)
168-
tau2 = reflection(G, r2)
167+
tau1 = _reflection(G, r1)
168+
tau2 = _reflection(G, r2)
169169
f = f * tau2 * tau1
170170
@assert w * f == w
171171
spinor_norm *= s1 * s2
@@ -219,15 +219,15 @@ function det_spin(G::QQMatrix, T::QQMatrix, p, nu)
219219
bm = g - E[k:k,:]
220220
qm = bm * G * transpose(bm)
221221
if valuation(qm, p) <= gammaL[k] + 2*delta
222-
tau1 = reflection(G, bm)
222+
tau1 = _reflection(G, bm)
223223
push!(reflection_vectors, bm)
224224
tau2 = E
225225
else
226226
bp = g + E[k:k,:]
227227
qp = bp * G * transpose(bp)
228228
@assert valuation(qp, p) <= gammaL[k] + 2*delta
229-
tau1 = reflection(G, bp)
230-
tau2 = reflection(G, E[k:k,:])
229+
tau1 = _reflection(G, bp)
230+
tau2 = _reflection(G, E[k:k,:])
231231
push!(reflection_vectors,bp)
232232
push!(reflection_vectors,E[k:k,:])
233233
end

0 commit comments

Comments
 (0)