Skip to content

Commit c64cc75

Browse files
authored
run juliaformatter
1 parent 02d4c4f commit c64cc75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/parameter_buffer.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ function Base.setindex!(p::MTKParameters, val, i)
362362
end
363363

364364
function Base.getindex(p::MTKParameters, pind::ParameterIndex)
365-
(;portion, idx) = pind
365+
(; portion, idx) = pind
366366
i, j, k... = idx
367367
if isempty(k)
368368
indexer = (v) -> v[i][j]
369369
else
370-
indexer = (v) -> v[i][j][k...]
370+
indexer = (v) -> v[i][j][k...]
371371
end
372372
if portion isa SciMLStructures.Tunable
373373
indexer(p.tunable)

0 commit comments

Comments
 (0)