summaryrefslogtreecommitdiff
path: root/geometry
diff options
context:
space:
mode:
authorPaul Jungeblut <paul.jungeblut@gmail.com>2017-03-26 13:39:28 +0200
committerPaul Jungeblut <paul.jungeblut@gmail.com>2017-03-26 13:39:28 +0200
commit947a0ef0384a4d35d8cae5799315a3b763ad791a (patch)
treefa1efc159bf51ce5a98acc94a5e4fcdb951af427 /geometry
parenta777f2da69425de95680d6c0713b629981e3846d (diff)
Correcting order in typedef.
Diffstat (limited to 'geometry')
-rw-r--r--geometry/formulars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/formulars.cpp b/geometry/formulars.cpp
index 3a5e53b..ed44b8b 100644
--- a/geometry/formulars.cpp
+++ b/geometry/formulars.cpp
@@ -1,6 +1,6 @@
// Komplexe Zahlen als Darstellung für Punkte. Wenn immer möglich
// complex<int> verwenden. Funktionen wie abs() geben dann int zurück.
-typedef pt complex<double>;
+typedef complex<double> pt;
// Winkel zwischen Punkt und x-Achse in [0, 2 * PI).
double angle = arg(a);