search for: do_rand

Displaying 3 results from an estimated 3 matches for "do_rand".

Did you mean: bn_rand
2006 Dec 16
1
max.col oddity
...ocs, since it can cause subtle bugs (and did for me). Personally, I think the behavior is much nicer with the following patch: --- rplain/R-2.4.0/src/appl/maxcol.c 2006-04-09 18:19:58.000000000 -0400 +++ R-2.4.0/src/appl/maxcol.c 2006-12-14 15:30:56.000000000 -0500 @@ -26,13 +26,14 @@ do_rand = *ties_meth == 1; for (r = 0; r < n_r; r++) { - /* first check row for any NAs and find the largest abs(entry) */ + /* first check row for any NAs and find the largest entry */ large = 0.0; isna = FALSE; for (c = 0; c < *nc; c++) { a = matrix[...
2006 Dec 14
0
max.col: bug or just oddity?
...cs, since it can cause subtle bugs (and did for me). Personally, I think the behavior is much nicer with the following patch: --- rplain/R-2.4.0/src/appl/maxcol.c 2006-04-09 18:19:58.000000000 -0400 +++ R-2.4.0/src/appl/maxcol.c 2006-12-14 15:30:56.000000000 -0500 @@ -26,13 +26,14 @@ do_rand = *ties_meth == 1; for (r = 0; r < n_r; r++) { - /* first check row for any NAs and find the largest abs(entry) */ + /* first check row for any NAs and find the largest entry */ large = 0.0; isna = FALSE; for (c = 0; c < *nc; c++) { a = ma...
2010 Jul 14
1
Problems with Dovecot + imaptest
...ore "mailbox_global_get_subject_utf8" mailbox.h:232: warning: data definition has no type or storage class In file included from client.h:4, from checkpoint.c:9: client-state.h:73: warning: parameter has incomplete type client-state.h:78: error: syntax error before "do_rand" client-state.h:78: warning: data definition has no type or storage class client-state.h:79: error: syntax error before "do_rand_again" client-state.h:79: warning: data definition has no type or storage class client-state.h:81: error: syntax error before "bool" client-state...