Skip to content

Commit 2a9a16a

Browse files
authored
Update tmakeParametersMonotonic.m
Adds missing call to `extractdata`.
1 parent d53bfc2 commit 2a9a16a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/conslearn/monotonic/tmakeParametersMonotonic.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function verifyCorrectResultForSimpleCase(testCase, ValidInputs)
1010
out = conslearn.monotonic.makeParametersMonotonic( ...
1111
ValidInputs.W, ValidInputs.lambda, ValidInputs.pNorm);
1212

13-
testCase.verifyEqual(out, ValidInputs.ExpectedOutput, AbsTol=1e-12);
13+
testCase.verifyEqual(extractdata(out), extractdata(ValidInputs.ExpectedOutput), AbsTol=1e-12);
1414
end
1515
end
1616

@@ -53,4 +53,4 @@ function verifyCorrectResultForSimpleCase(testCase, ValidInputs)
5353
lambda = 10, ...
5454
pNorm = Inf, ...
5555
ExpectedOutput = w);
56-
end
56+
end

0 commit comments

Comments
 (0)