aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/fixes/math_complex_doc_great_circle.diff
blob: d4b98d9c043b843dbc92c23329df8e67ac9b5a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From ffebd2c39731282d0194acf9882cc9f0b315860c Mon Sep 17 00:00:00 2001
From: Dominic Hargreaves <dom@earth.li>
Date: Sat, 30 Apr 2016 22:50:52 +0100
Subject: [PATCH] Math::Trig: clarify definition of great_circle_midpoint

Bug: https://rt.cpan.org/Ticket/Display.html?id=114104
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697567
Patch-Name: fixes/math_complex_doc_great_circle.diff

---
 cpan/Math-Complex/lib/Math/Trig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpan/Math-Complex/lib/Math/Trig.pm b/cpan/Math-Complex/lib/Math/Trig.pm
index 728da3e..89dcd09 100644
--- a/cpan/Math-Complex/lib/Math/Trig.pm
+++ b/cpan/Math-Complex/lib/Math/Trig.pm
@@ -613,7 +613,7 @@ or the midpoint if you know the end points:
   ($thetam, $phim) =
     great_circle_midpoint($theta0, $phi0, $theta1, $phi1);
 
-The great_circle_midpoint() is just a special case of
+The great_circle_midpoint() is just a special case (with $way = 0.5) of
 
 =head2 great_circle_waypoint