Skip to content

Commit 13b9308

Browse files
author
Brad Carman
committed
format
1 parent d881c14 commit 13b9308

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/Mechanical/translational.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ end
4343
@named gv = TV.Fixed()
4444
@named gp = TP.Fixed(s_0 = 1)
4545

46-
function simplify_and_solve(damping, spring, body, ground; initialization_eqs=Equation[])
46+
function simplify_and_solve(
47+
damping, spring, body, ground; initialization_eqs = Equation[])
4748
eqs = [connect(spring.flange_a, body.flange, damping.flange_a)
4849
connect(spring.flange_b, damping.flange_b, ground.flange)]
4950

@@ -57,7 +58,8 @@ end
5758
return sol
5859
end
5960

60-
solv = simplify_and_solve(dv, sv, bv, gv; initialization_eqs=[bv.s ~ 3, bv.v ~ 1, sv.delta_s ~ 1])
61+
solv = simplify_and_solve(
62+
dv, sv, bv, gv; initialization_eqs = [bv.s ~ 3, bv.v ~ 1, sv.delta_s ~ 1])
6163
solp = simplify_and_solve(dp, sp, bp, gp)
6264

6365
@test solv[bv.v][1] == 1.0

0 commit comments

Comments
 (0)