From bf6cb421ad89f0ff8465f01cc340ddc6497466d3 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Mon, 13 Jul 2026 16:49:30 -0400 Subject: [PATCH] test: initialize acceleration sensor mass Supply position and velocity initial values so the acceleration sensor fixture remains fully determined after Mass stopped providing defaults. Co-Authored-By: Chris Rackauckas --- test/translational.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/translational.jl b/test/translational.jl index 1eb08543..82be0ecf 100644 --- a/test/translational.jl +++ b/test/translational.jl @@ -235,7 +235,7 @@ end @testset "AccelerationSensor" begin @named acc = TP.AccelerationSensor() m = 4 - @named mass = TP.Mass(m = m) + @named mass = TP.Mass(m = m, s = 0, v = 0) @named force = TP.Force() @named source = Sine(frequency = 2, amplitude = 1) @named acc_output = RealOutput()