Skip to content

Commit 016ae40

Browse files
authored
Don't use pinv in test (#23)
* Don't use pinv in test * Update Project.toml
1 parent 28f3cdd commit 016ae40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "QuantumOpticsBase"
22
uuid = "4f57444f-1401-5e15-980d-4471b28d5678"
3-
version = "v0.2.9"
3+
version = "v0.2.10"
44

55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

test/test_particle.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ x0 = [5.1, -0.2]
242242
p0 = [-3.2, 1.33]
243243
sigma = [1., 0.9]
244244
sigma_x = sigma./sqrt(2)
245-
sigma_p = 1.0/(sigma.*sqrt(2))
245+
sigma_p = 1.0 ./ (sigma.*sqrt(2))
246246

247247
Txp = transform(tensor(basis_position...), tensor(basis_momentum...))
248248
Tpx = transform(tensor(basis_momentum...), tensor(basis_position...))

0 commit comments

Comments
 (0)