Skip to content

Commit 448cf14

Browse files
committed
formatting changes by new formatter
1 parent 9812b41 commit 448cf14

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/algorithms/toolbox.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ passed through to `MPSKit.transfer_spectrum` (e.g. allowing to target the correl
272272
in a specific symmetry sector).
273273
274274
"""
275-
MPSKit.correlation_length(state, env::CTMRGEnv; num_vals=2, kwargs...) =
275+
function MPSKit.correlation_length(state, env::CTMRGEnv; num_vals=2, kwargs...)
276276
_correlation_length(env; num_vals, kwargs...)
277+
end
277278

278279
function _correlation_length(
279280
env::CTMRGEnv; num_vals=2, sector=one(sectortype(env)), kwargs...

src/utility/hook_pullback.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,6 @@ the default `alg_rrule=nothing` results in the default AD pullback.
4444
!!! warning
4545
No tangent is expected for the `alg_rrule` argument
4646
"""
47-
_rrule(::Nothing, config::RuleConfig, f, args...; kwargs...) =
47+
function _rrule(::Nothing, config::RuleConfig, f, args...; kwargs...)
4848
rrule_via_ad(config, f, args...; kwargs...)
49+
end

0 commit comments

Comments
 (0)