Debian Codegraph @

debian/patches/upstream-enhancement-eg_test_updating.patch

raw symbols SCIP
1 Descriptionscip-debian debian apophenia 1.0+ds-10 apophenia/patches/`upstream-enhancement-eg_test_updating.patch`#Description.: upstream -- enhancement -- test_updating
2 Render Apop_stopif message emitted by eg/test_updating.c more precise.
3 Originscip-debian debian apophenia 1.0+ds-10 apophenia/patches/`upstream-enhancement-eg_test_updating.patch`#Origin.: debian
4 Forwardedscip-debian debian apophenia 1.0+ds-10 apophenia/patches/`upstream-enhancement-eg_test_updating.patch`#Forwarded.: https://github.com/b-k/apophenia/pull/28
5 Authorscip-debian debian apophenia 1.0+ds-10 apophenia/patches/`upstream-enhancement-eg_test_updating.patch`#Author.:
6 Jerome Benoit <[email protected]scip-debian . . . identity/`[email protected]`.>
7 Last-Updatescip-debian debian apophenia 1.0+ds-10 apophenia/patches/`upstream-enhancement-eg_test_updating.patch`#Last-Update.: 2015-12-02
8
9 --- a/eg/test_updating.cscip-debian debian apophenia 1.0+ds-10 apophenia/upstream/`eg/test_updating.c`:
10 +++ b/eg/test_updating.cscip-debian debian apophenia 1.0+ds-10 apophenia/upstream/`eg/test_updating.c`:
11 @@ -4,7 +4,7 @@
12 void distances(gsl_vector *v1, gsl_vector *v2, double tol){
13 double error = apop_vector_distance(v1, v2, .metric='m');
14 double updated_size = apop_vector_sum(v1);
15 - Apop_stopif(error/updated_size > tol, exit(1), 0, "The error is %g, which is too big.", error/updated_size);
16 + Apop_stopif(error/updated_size > tol, exit(1), 0, "The error is %g, which is too big (> %g).", error/updated_size, tol);
17 }
18
19 int main(){