1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/math/R/files/patch-src__nmath__standalone__test.c
Martin Wilke dcdae14bd1 - Make math/libRmath to a slave port of math/R
- Add an option to build libR into a static, rather than a shared library (requested by a few users)

PR:		143076
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
		"b. f." <bf1783@googlemail.com> (maintainer)
Approved by:	maintainer
2010-02-02 16:04:22 +00:00

12 lines
428 B
C

--- src/nmath/standalone/test.c.orig 2009-06-22 18:12:00.000000000 -0400
+++ src/nmath/standalone/test.c 2009-06-22 18:12:34.000000000 -0400
@@ -38,7 +38,7 @@
qnorm(0.7, 0.0, 1.0, 0, 0);
printf("*** loaded '%s'\n", argv[0]);
set_seed(123, 456);
- N01_kind = AHRENS_DIETER;
+ N01type N01_kind = AHRENS_DIETER;
printf("one normal %f\n", norm_rand());
set_seed(123, 456);
N01_kind = BOX_MULLER;