Fix wrong distance [closes #34]

This commit is contained in:
Antti H S Laaksonen 2017-03-18 12:21:52 +02:00
parent 5562d7327d
commit e23c04b79d
1 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ between points $(4,2)$ and $(3,-1)$:
\begin{lstlisting}
P a = {4,2};
P b = {3,-1};
cout << abs(b-a) << "\n"; // 3.60555
cout << abs(b-a) << "\n"; // 3.16228
\end{lstlisting}
The function \texttt{arg(v)} calculates the