Skip to content

Commit b7bbac7

Browse files
authored
Matrixify Q's in tests (#212)
* Matrixify Q's in tests * bump patch version
1 parent 93cd547 commit b7bbac7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "FiniteDifferences"
22
uuid = "26cc04aa-876d-5657-8c51-4c34ba976000"
3-
version = "0.12.25"
3+
version = "0.12.26"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

test/to_vec.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ end
153153
@test all(!isnan, F_vec)
154154
@inferred back(F_vec)
155155
F_back = back(F_vec)
156-
@test F_back.Q == F.Q
156+
@test Matrix(F_back.Q) == Matrix(F.Q)
157157
@test F_back.R == F.R
158158

159159
# Make sure the result is consistent despite the arbitrary
@@ -171,7 +171,7 @@ end
171171
@test all(!isnan, Q_vec)
172172
@inferred back(Q_vec)
173173
Q_back = back(Q_vec)
174-
@test Q_back == Q
174+
@test Matrix(Q_back) == Matrix(Q)
175175
end
176176
end
177177

0 commit comments

Comments
 (0)