-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Milestone
Description
Running the following:
using TensorKit, TensorKitManifolds, StableRNGs
V = ℂ^4
T = Float64
rng = StableRNG(0)
W, = leftorth(TensorMap((x...)-> randn(rng, x...), T, V*V*V, V*V); alg = Polar())
X = TensorMap((x...)-> randn(rng, x...), T, space(W))
Y = TensorMap((x...)-> randn(rng, x...), T, space(W))
Δ = Unitary.project(X, W)
Θ = Unitary.project(Y, W)
Δ === Θ
we get false
on 1.7, while on 1.8 this returns true
Here is a proof they are not ===
:
julia> Θ.A.data |> sum
1.1102230246251565e-15
julia> Δ.A.data |> sum
-4.6074255521944e-15
Reverting #43658 makes it go away so I guess the bug is from there.
cc @NHDaly
NHDaly
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorregressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version