Skip to content

Commit

Permalink
ps1 -> ps2.
Browse files Browse the repository at this point in the history
  • Loading branch information
benedict-96 committed May 15, 2024
1 parent b381814 commit d6b98b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/linear_symplectic_attention.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function test_application_of_lsa(n::Integer=4, seq_length::Integer=5, T=Float64)
# test for Array as input
arr = rand(T, 2 * n, seq_length)
@test l₁(arr, ps₁) vcat(arr[1:n, :] + arr[(n + 1):(2 * n), :] * ps₁.A, arr[(n + 1):(2 * n), :])
@test l₂(arr, ps₂) vcat(arr[1:n, :], arr[(n + 1):(2 * n), :] + arr[1:n, :] * ps.A)
@test l₂(arr, ps₂) vcat(arr[1:n, :], arr[(n + 1):(2 * n), :] + arr[1:n, :] * ps.A)
end

test_application_of_lsa()

0 comments on commit d6b98b7

Please sign in to comment.