aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/real_closed/complex.v
diff options
context:
space:
mode:
authorCyril Cohen2018-02-06 14:04:50 +0100
committerCyril Cohen2018-02-06 14:14:36 +0100
commitf3ce9ace4b55654d6240db9eb41a6de3c488f0d9 (patch)
treed44ad1d84bb57b368f6e65fe871ec0c6e5a558eb /mathcomp/real_closed/complex.v
parentfafd4dac5315e1d4e071b0044a50a16360b31964 (diff)
fixing things that @ggonthier and @ybertot spotted and some I spotted
Diffstat (limited to 'mathcomp/real_closed/complex.v')
-rw-r--r--mathcomp/real_closed/complex.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/real_closed/complex.v b/mathcomp/real_closed/complex.v
index 30b4b04..22edf79 100644
--- a/mathcomp/real_closed/complex.v
+++ b/mathcomp/real_closed/complex.v
@@ -58,7 +58,7 @@ Section ComplexEqChoice.
Variable R : Type.
-Definition sqR_of_complex (x : R[i]) := let: a +i* b := x in [::a; b].
+Definition sqR_of_complex (x : R[i]) := let: a +i* b := x in [:: a; b].
Definition complex_of_sqR (x : seq R) :=
if x is [:: a; b] then Some (a +i* b) else None.