@@ -183,33 +183,33 @@ function eigvalsPWK!(S::SymTridiagonal{T}; tol = eps(T), sortby::Union{Function,
183183 blockend = n
184184 end
185185
186- @debug " submatrix" blockstart blockend
186+ # @debug "submatrix" blockstart blockend
187187
188188 # Deflate?
189189 if blockstart == blockend
190- @debug " Deflate? Yes!"
190+ # @debug "Deflate? Yes!"
191191 blockstart += 1
192192 elseif blockstart + 1 == blockend
193- @debug " Defalte? Yes, but after solving 2x2 block!"
193+ # @debug "Defalte? Yes, but after solving 2x2 block!"
194194 d[blockstart], d[blockend] =
195195 eigvals2x2 (d[blockstart], d[blockend], sqrt (e[blockstart]))
196196 e[blockstart] = zero (T)
197197 blockstart += 1
198198 else
199- @debug " Deflate? No!"
199+ # @debug "Deflate? No!"
200200 # Calculate shift
201201 sqrte = sqrt (e[blockstart])
202202 μ = (d[blockstart+ 1 ] - d[blockstart]) / (2 * sqrte)
203203 r = hypot (μ, one (T))
204204 μ = d[blockstart] - sqrte / (μ + copysign (r, μ))
205205
206206 # QL bulk chase
207- @debug " Values before PWK QL bulge chase" e[blockstart] e[blockend- 1 ] μ
207+ # @debug "Values before PWK QL bulge chase" e[blockstart] e[blockend-1] μ
208208 singleShiftQLPWK! (S, μ, blockstart, blockend)
209209
210210 rotations = blockend - blockstart
211211 iter += rotations
212- @debug " Values after PWK QL bulge chase" e[blockstart] e[blockend- 1 ] rotations
212+ # @debug "Values after PWK QL bulge chase" e[blockstart] e[blockend-1] rotations
213213 end
214214 if blockstart >= n
215215 break
@@ -259,27 +259,27 @@ function eigQL!(
259259 blockend = n
260260 end
261261
262- @debug " submatrix" blockstart blockend
262+ # @debug "submatrix" blockstart blockend
263263
264264 # Deflate?
265265 if blockstart == blockend
266- @debug " Deflate? Yes!"
266+ # @debug "Deflate? Yes!"
267267 blockstart += 1
268268 elseif blockstart + 1 == blockend
269- @debug " Deflate? Yes, but after solving 2x2 block"
269+ # @debug "Deflate? Yes, but after solving 2x2 block"
270270 eig2x2! (d, e, blockstart, vectors)
271271 blockstart += 2
272272 else
273- @debug " Deflate? No!"
273+ # @debug "Deflate? No!"
274274 # Calculate shift
275275 μ = (d[blockstart + 1 ] - d[blockstart]) / (2 * e[blockstart])
276276 r = hypot (μ, one (T))
277277 μ = d[blockstart] - (e[blockstart] / (μ + copysign (r, μ)))
278278
279279 # QL bulk chase
280- @debug " Values before bulge chase" e[blockstart] e[blockend - 1 ] d[blockstart] μ
280+ # @debug "Values before bulge chase" e[blockstart] e[blockend - 1] d[blockstart] μ
281281 singleShiftQL! (S, μ, blockstart, blockend, vectors)
282- @debug " Values after bulge chase" e[blockstart] e[blockend - 1 ] d[blockstart]
282+ # @debug "Values after bulge chase" e[blockstart] e[blockend - 1] d[blockstart]
283283 end
284284
285285 if blockstart >= n
@@ -312,27 +312,27 @@ function eigQR!(
312312 blockend = n
313313 end
314314
315- @debug " submatrix" blockstart blockend
315+ # @debug "submatrix" blockstart blockend
316316
317317 # Deflate?
318318 if blockstart == blockend
319- @debug " Deflate? Yes!"
319+ # @debug "Deflate? Yes!"
320320 blockstart += 1
321321 elseif blockstart + 1 == blockend
322- @debug " Deflate? Yes, but after solving 2x2 block!"
322+ # @debug "Deflate? Yes, but after solving 2x2 block!"
323323 eig2x2! (d, e, blockstart, vectors)
324324 blockstart += 2
325325 else
326- @debug " Deflate? No!"
326+ # @debug "Deflate? No!"
327327 # Calculate shift
328328 μ = (d[blockend - 1 ] - d[blockend]) / (2 * e[blockend - 1 ])
329329 r = hypot (μ, one (T))
330330 μ = d[blockend] - (e[blockend - 1 ] / (μ + copysign (r, μ)))
331331
332332 # QR bulk chase
333- @debug " Values before QR bulge chase" e[blockstart] e[blockend - 1 ] d[blockend] μ
333+ # @debug "Values before QR bulge chase" e[blockstart] e[blockend - 1] d[blockend] μ
334334 singleShiftQR! (S, μ, blockstart, blockend, vectors)
335- @debug " Values after QR bulge chase" e[blockstart] e[blockend - 1 ] d[blockend]
335+ # @debug "Values after QR bulge chase" e[blockstart] e[blockend - 1] d[blockend]
336336 end
337337 if blockstart >= n
338338 break
0 commit comments