Skip to content

Commit e5872c7

Browse files
author
SciML Bot
committed
Apply JuliaFormatter to fix code formatting
- Applied JuliaFormatter with SciML style guide - Formatted 2 files 🤖 Generated by OrgMaintenanceScripts.jl
1 parent 0838aa4 commit e5872c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/legacy.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ function AutoModelingToolkit(; obj_sparse::Bool = false, cons_sparse::Bool = fal
3737
return mtk_to_symbolics(obj_sparse, cons_sparse)
3838
end
3939

40-
function AutoTapir(; safe_mode=true)
40+
function AutoTapir(; safe_mode = true)
4141
Base.depwarn(
42-
"`AutoTapir` is deprecated in favour of `AutoMooncake`.", :AutoTapir; force=false
42+
"`AutoTapir` is deprecated in favour of `AutoMooncake`.", :AutoTapir; force = false
4343
)
4444
return AutoTapir(safe_mode)
4545
end

test/legacy.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ end
7171

7272
@testset "AutoTapir" begin
7373
@test_deprecated AutoTapir()
74-
@test_deprecated AutoTapir(; safe_mode=false)
74+
@test_deprecated AutoTapir(; safe_mode = false)
7575
end

0 commit comments

Comments
 (0)