@@ -151,13 +151,11 @@ x, _ = ModelingToolkit.get_u0_p(simplified_sys, op)
151
151
p = ModelingToolkit. MTKParameters (simplified_sys, op)
152
152
# If this somehow passes, mention it on
153
153
# https://github.com/SciML/ModelingToolkit.jl/issues/2786
154
- @test_broken begin
155
- matrices1 = Sf (x, p, 0 )
156
- matrices2, _ = Blocks. get_sensitivity (model, :y ; op) # Test that we get the same result when calling the higher-level API
157
- @test matrices1. f_x ≈ matrices2. A[1 : 7 , 1 : 7 ]
158
- nsys = get_named_sensitivity (model, :y ; op) # Test that we get the same result when calling an even higher-level API
159
- @test matrices2. A ≈ nsys. A
160
- end
154
+ matrices1 = Sf (x, p, 0 )
155
+ matrices2, _ = Blocks. get_sensitivity (model, :y ; op) # Test that we get the same result when calling the higher-level API
156
+ @test_broken matrices1. f_x ≈ matrices2. A[1 : 7 , 1 : 7 ]
157
+ nsys = get_named_sensitivity (model, :y ; op) # Test that we get the same result when calling an even higher-level API
158
+ @test matrices2. A ≈ nsys. A
161
159
162
160
# Test the same thing for comp sensitivities
163
161
@@ -166,10 +164,8 @@ x, _ = ModelingToolkit.get_u0_p(simplified_sys, op)
166
164
p = ModelingToolkit. MTKParameters (simplified_sys, op)
167
165
# If this somehow passes, mention it on
168
166
# https://github.com/SciML/ModelingToolkit.jl/issues/2786
169
- @test_broken begin
170
- matrices1 = Sf (x, p, 0 )
171
- matrices2, _ = Blocks. get_comp_sensitivity (model, :y ; op) # Test that we get the same result when calling the higher-level API
172
- @test matrices1. f_x ≈ matrices2. A[1 : 7 , 1 : 7 ]
173
- nsys = get_named_comp_sensitivity (model, :y ; op) # Test that we get the same result when calling an even higher-level API
174
- @test matrices2. A ≈ nsys. A
175
- end
167
+ matrices1 = Sf (x, p, 0 )
168
+ matrices2, _ = Blocks. get_comp_sensitivity (model, :y ; op) # Test that we get the same result when calling the higher-level API
169
+ @test_broken matrices1. f_x ≈ matrices2. A[1 : 7 , 1 : 7 ]
170
+ nsys = get_named_comp_sensitivity (model, :y ; op) # Test that we get the same result when calling an even higher-level API
171
+ @test matrices2. A ≈ nsys. A
0 commit comments