Skip to content

Commit 243293e

Browse files
Harsh SinghHarsh Singh
authored andcommitted
Fix remaining trailing spaces for runic format check
1 parent bb1fbf7 commit 243293e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/StochasticDiffEqROCK/src/caches/SROCK_caches.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function alg_cache(
161161
uᵢ₋₁ = zero(u)
162162
uᵢ₋₂ = zero(u)
163163
Gₛ = zero(noise_rate_prototype)
164-
if (!alg.strong_order_1 || is_diagonal_noise(prob) || ΔW isa Number )
164+
if (!alg.strong_order_1 || is_diagonal_noise(prob) || ΔW isa Number)
165165
Gₛ₁ = Gₛ
166166
else
167167
Gₛ₁ = zero(noise_rate_prototype)

lib/StochasticDiffEqROCK/src/perform_step/SROCK_perform_step.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ end
194194
(; recf, recf2, mα, mσ, mτ) = cache
195195

196196
gen_prob = !(
197-
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
197+
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
198198
)
199199
if gen_prob
200200
vec_χ = similar(W.dW)
@@ -334,7 +334,7 @@ end
334334
(; recf, recf2, mα, mσ, mτ) = cache.constantcache
335335
ccache = cache.constantcache
336336
gen_prob = !(
337-
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
337+
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
338338
)
339339

340340
alg = unwrap_alg(integrator, true)
@@ -982,7 +982,7 @@ end
982982
end
983983
end
984984

985-
if (W.dW isa Number)
985+
if (W.dW isa Number)
986986
Gₛ = integrator.f.g(Û₁, p, t̂₁)
987987
uₓ += Gₛ * W.dW
988988

@@ -1227,7 +1227,7 @@ end
12271227
(; recf, mσ, mτ, mδ) = cache
12281228

12291229
gen_prob = !(
1230-
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
1230+
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
12311231
)
12321232

12331233
alg = unwrap_alg(integrator, true)
@@ -1433,7 +1433,7 @@ end
14331433

14341434
ccache = cache.constantcache
14351435
gen_prob = !(
1436-
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
1436+
(is_diagonal_noise(integrator.sol.prob)) || (W.dW isa Number)
14371437
)
14381438

14391439
alg = unwrap_alg(integrator, true)

0 commit comments

Comments
 (0)