mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
[svn r7462] Fixed a subtle bug in cavestats.c which causes surveys with only 2 stations to get mishandled.
This commit is contained in:
@@ -266,7 +266,7 @@ main(int argc, char **argv)
|
||||
if(c_stns == 2)
|
||||
{
|
||||
if (!compact_output) printf("Horizontal extent = %.2fm (from %s to %s)\n", planlen, stns[0].name, stns[1].name);
|
||||
else printf("%.2f\t%.2f\t%.2f", planlen, umost.pt.z-lmost.pt.z, planlen);
|
||||
else printf("%.2f\t%.2f\t%.2f", totlen, umost.pt.z-lmost.pt.z, planlen);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
78 7781 327
|
||||
82 364 218
|
||||
88 1775 210
|
||||
90 3 12
|
||||
91 3 14
|
||||
103 0 30
|
||||
90 13 12
|
||||
91 14 14
|
||||
103 30 30
|
||||
105 40 38
|
||||
107 593 283
|
||||
108 6 26
|
||||
108 27 26
|
||||
113 520 205
|
||||
115 4720 738
|
||||
116 221 39
|
||||
@@ -30,9 +30,9 @@
|
||||
162 159 32
|
||||
163 57 17
|
||||
172 20 2
|
||||
174 0 30
|
||||
175 0 20
|
||||
176 0 30
|
||||
174 30 30
|
||||
175 20 20
|
||||
176 30 30
|
||||
182 1176 292
|
||||
183 106 70
|
||||
185 94 63
|
||||
@@ -49,11 +49,11 @@
|
||||
206 53 16
|
||||
207 8 1
|
||||
208 15 9
|
||||
209 3 16
|
||||
209 16 16
|
||||
215 48 10
|
||||
216 104 26
|
||||
220 6 5
|
||||
225 0 12
|
||||
220 8 5
|
||||
225 12 12
|
||||
228 29 9
|
||||
229 55 15
|
||||
231 226 26
|
||||
@@ -69,7 +69,7 @@
|
||||
246 57 46
|
||||
248 132 109
|
||||
249 63 6
|
||||
250 7 6
|
||||
250 10 6
|
||||
251 169 36
|
||||
LA11 642 375
|
||||
LA12 341 331
|
||||
@@ -80,10 +80,10 @@ LA34 533 425
|
||||
2002-08 21 14
|
||||
2002-XX 15 12
|
||||
2003-01 25 9
|
||||
2004-14 18 13
|
||||
2004-14 22 13
|
||||
2004-15 43 9
|
||||
2004-19 106 21
|
||||
2004-20 0 9
|
||||
2004-20 9 9
|
||||
2005-01 60 21
|
||||
2005-07 15 8
|
||||
2005-92 20 18
|
||||
|
||||
Reference in New Issue
Block a user