From cd5b85e51df6801eae284ec7d8f2fd29886a1d28 Mon Sep 17 00:00:00 2001 From: amitjamadagni Date: Tue, 21 Apr 2015 02:18:59 +0530 Subject: [PATCH] Changes. --- test/operatortest.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/operatortest.jl b/test/operatortest.jl index 7a38ead..3cbe30a 100644 --- a/test/operatortest.jl +++ b/test/operatortest.jl @@ -28,4 +28,4 @@ coherentstate = displaceop(20,1)*statevec(1,FiniteBasis(20)) ############################ @assert squeezingop(2,1.0)== QuArray(eye(2)) -@assert squeezingop(lowerop(2), QuArray(eye(2)), 2.0)' == displaceop(2,1) +@assert coeffs(squeezingop(lowerop(2), QuArray(eye(2)), 2.0)') == coeffs(displaceop(2,1))