Skip to content

Commit

Permalink
Update tmakeParametersMonotonic.m
Browse files Browse the repository at this point in the history
Adds missing call to `extractdata`.
  • Loading branch information
jkeeley-MW authored Sep 25, 2024
1 parent d53bfc2 commit 2a9a16a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/conslearn/monotonic/tmakeParametersMonotonic.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function verifyCorrectResultForSimpleCase(testCase, ValidInputs)
out = conslearn.monotonic.makeParametersMonotonic( ...
ValidInputs.W, ValidInputs.lambda, ValidInputs.pNorm);

testCase.verifyEqual(out, ValidInputs.ExpectedOutput, AbsTol=1e-12);
testCase.verifyEqual(extractdata(out), extractdata(ValidInputs.ExpectedOutput), AbsTol=1e-12);
end
end

Expand Down Expand Up @@ -53,4 +53,4 @@ function verifyCorrectResultForSimpleCase(testCase, ValidInputs)
lambda = 10, ...
pNorm = Inf, ...
ExpectedOutput = w);
end
end

0 comments on commit 2a9a16a

Please sign in to comment.