Back to the "Multiple platform build/check report" A [B] C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

Package 65/671HostnameOS / ArchBUILDCHECKBUILD BIN
bgx 1.24.0
Ernest Turro
Snapshot Date: 2013-04-30 17:01:37 -0700 (Tue, 30 Apr 2013)
URL: https://hedgehog.fhcrc.org/bioconductor/branches/RELEASE_2_12/madman/Rpacks/bgx
Last Changed Rev: 75263 / Revision: 76155
Last Changed Date: 2013-04-03 14:32:27 -0700 (Wed, 03 Apr 2013)
george2 Linux (Ubuntu 12.04.1 LTS) / x86_64  OK  WARNINGS 
moscato2 Windows Server 2008 R2 Enterprise SP1 (64-bit) / x64  OK  OK  OK 
petty Mac OS X Snow Leopard (10.6.8) / x86_64  OK  WARNINGS  OK 
pelham Mac OS X Snow Leopard (10.6.8) / x86_64  OK  WARNINGS [ OK ]

Summary

Package: bgx
Version: 1.24.0
Command: rm -rf bgx.buildbin-libdir && mkdir bgx.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh bgx_1.24.0.tar.gz /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R bgx.buildbin-libdir
StartedAt: 2013-05-01 12:08:21 -0700 (Wed, 01 May 2013)
EndedAt: 2013-05-01 12:08:50 -0700 (Wed, 01 May 2013)
EllapsedTime: 28.7 seconds
RetCode: 0
Status:  OK 
PackageFile: bgx_1.24.0.tgz
PackageFileSize: 243.4 KiB

Command output

>>>>>>> 
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=bgx.buildbin-libdir bgx_1.24.0.tar.gz'
>>>>>>> 

* installing *source* package 'bgx' ...
checking for gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for C compiler vendor... gnu
checking whether C compiler accepts -ffast-math... yes
checking whether C compiler accepts -O3... yes
checking build system type... i386-apple-darwin10.8.0
checking host system type... i386-apple-darwin10.8.0
checking for gcc architecture flag... 
checking for x86 cpuid 0 output... a:756e6547:6c65746e:49656e69
checking for x86 cpuid 1 output... 6fb:6020800:4e33d:bfebfbff
checking whether C compiler accepts -march=pentiumpro... no
checking whether C compiler accepts -mcpu=pentiumpro... yes
checking for gcc architecture flag... -mcpu=pentiumpro
checking for clang option to accept ISO C99... none needed
checking for main in -lm... yes
Untarring Boost header files...
checking for an ANSI C-conforming const... yes
checking for inline... inline
configure: creating ./config.status
config.status: creating src/Makevars
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I ../boostIncl -I/usr/local/include    -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -ffast-math -O3 -DUSING_R -c bgx.cc -o bgx.o
In file included from bgx.cc:24:
In file included from ./rand.hh:32:
In file included from ../boostIncl/boost/random.hpp:36:
In file included from ../boostIncl/boost/random/linear_congruential.hpp:25:
In file included from ../boostIncl/boost/random/detail/const_mod.hpp:22:
../boostIncl/boost/integer_traits.hpp:164:66: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
    public detail::integer_traits_base< ::boost::long_long_type, LLONG_MIN, LLONG_MAX>
                                                                 ^
/usr/include/i386/limits.h:86:21: note: expanded from macro 'LLONG_MIN'
#define LLONG_MIN       (-0x7fffffffffffffffLL-1) /* min signed long long */
                          ^
In file included from bgx.cc:24:
In file included from ./rand.hh:32:
In file included from ../boostIncl/boost/random.hpp:36:
In file included from ../boostIncl/boost/random/linear_congruential.hpp:25:
In file included from ../boostIncl/boost/random/detail/const_mod.hpp:22:
../boostIncl/boost/integer_traits.hpp:164:77: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
    public detail::integer_traits_base< ::boost::long_long_type, LLONG_MIN, LLONG_MAX>
                                                                            ^
/usr/include/i386/limits.h:85:19: note: expanded from macro 'LLONG_MAX'
#define LLONG_MAX       0x7fffffffffffffffLL    /* max signed long long */
                        ^
In file included from bgx.cc:24:
In file included from ./rand.hh:32:
In file included from ../boostIncl/boost/random.hpp:36:
In file included from ../boostIncl/boost/random/linear_congruential.hpp:25:
In file included from ../boostIncl/boost/random/detail/const_mod.hpp:22:
../boostIncl/boost/integer_traits.hpp:170:70: warning: 'long long' is a C++11 extension [-Wc++11-long-long]
    public detail::integer_traits_base< ::boost::ulong_long_type, 0, ULLONG_MAX>
                                                                     ^
/usr/include/i386/limits.h:84:20: note: expanded from macro 'ULLONG_MAX'
#define ULLONG_MAX      0xffffffffffffffffULL   /* max unsigned long long */
                        ^
In file included from bgx.cc:24:
In file included from ./rand.hh:32:
In file included from ../boostIncl/boost/random.hpp:41:
../boostIncl/boost/random/lagged_fibonacci.hpp:112:22: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
    minstd_rand0 gen(value);
                 ˜˜˜ ^˜˜˜˜
../boostIncl/boost/random/lagged_fibonacci.hpp:289:25: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
    minstd_rand0 intgen(value);
                 ˜˜˜˜˜˜ ^˜˜˜˜
In file included from bgx.cc:24:
In file included from ./rand.hh:32:
In file included from ../boostIncl/boost/random.hpp:42:
In file included from ../boostIncl/boost/random/ranlux.hpp:20:
../boostIncl/boost/random/subtract_with_carry.hpp:97:74: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
    random::linear_congruential<int32_t, 40014, 0, 2147483563, 0> intgen(value);
                                                                  ˜˜˜˜˜˜ ^˜˜˜˜
../boostIncl/boost/random/subtract_with_carry.hpp:287:71: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
    random::linear_congruential<int32_t, 40014, 0, 2147483563, 0> gen(value);
                                                                  ˜˜˜ ^˜˜˜˜
In file included from bgx.cc:28:
./bgx_updates.hh:69:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double x=log(S[j][i]+1);
                     ˜ ^
./bgx_updates.hh:69:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double x=log(S[j][i]+1);
                     ˜    ^
./bgx_updates.hh:71:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                        ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                        ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                       ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                       ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                                    ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                                    ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                                                  ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                                                  ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:77: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                                                                ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:71:80: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[c][g]*((x-mu[c][g])*(x-mu[c][g])-(x2-mu[c][g])*(x2-mu[c][g]))*.5
                                                                                ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                          ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                   ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                   ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                            ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                            ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                    ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                    ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                            ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                      ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                      ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                               ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                               ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                                       ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:72: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                                       ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:73:80: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j]) 
                                                                                               ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                  ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                  ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                               ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                               ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                       ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                       ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                               ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                         ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                         ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:68: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                                      ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:71: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                                      ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:76: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                                              ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:79: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                                              ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:74:87: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                                                      ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                  ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                  ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                              ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                              ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                                      ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                                                ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                                                ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                                                            ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                                                            ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:75:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (PM[j][i]-S2-H[j][i]-beta[j])*(PM[j][i]-S2-H[j][i]-beta[j]) 
                                                                                    ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                  ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                  ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                  ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                  ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                          ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                                    ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                                    ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                                                    ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                                                    ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:76:77: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               - (MM[j][i]-phi*S2-H[j][i]-beta[j])*(MM[j][i]-phi*S2-H[j][i]-beta[j]))*.5 );
                                                                                            ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:104:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  double y=log(H[j][i]+1);
               ˜ ^
./bgx_updates.hh:104:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  double y=log(H[j][i]+1);
               ˜    ^
./bgx_updates.hh:106:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  return SAFE_EXP(eta[j]*( (y-lambdas[j][categories[i]])*(y-lambdas[j][categories[i]]) -
                  ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:106:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  return SAFE_EXP(eta[j]*( (y-lambdas[j][categories[i]])*(y-lambdas[j][categories[i]]) -
                              ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:106:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  return SAFE_EXP(eta[j]*( (y-lambdas[j][categories[i]])*(y-lambdas[j][categories[i]]) -
                              ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:106:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  return SAFE_EXP(eta[j]*( (y-lambdas[j][categories[i]])*(y-lambdas[j][categories[i]]) -
                                                            ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:106:72: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  return SAFE_EXP(eta[j]*( (y-lambdas[j][categories[i]])*(y-lambdas[j][categories[i]]) -
                                                            ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:107:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             (y2-lambdas[j][categories[i]])*(y2-lambdas[j][categories[i]]) )*.5
                 ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:107:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             (y2-lambdas[j][categories[i]])*(y2-lambdas[j][categories[i]]) )*.5
                 ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:107:57: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             (y2-lambdas[j][categories[i]])*(y2-lambdas[j][categories[i]]) )*.5
                                                ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:107:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             (y2-lambdas[j][categories[i]])*(y2-lambdas[j][categories[i]]) )*.5
                                                ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
        ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                 ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                 ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                          ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                          ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                  ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                  ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                          ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                    ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                    ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                             ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                             ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:72: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                                     ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:75: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                                     ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:109:83: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      + tau[j]*((PM[j][i]-S[j][i]-H[j][i]-beta[j])*(PM[j][i]-S[j][i]-H[j][i]-beta[j])
                                                                             ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                             ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                             ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                     ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                     ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                             ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                       ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:62: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                       ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:71: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                    ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:74: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                    ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:79: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                            ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:82: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                            ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:110:90: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             + (MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])*(MM[j][i]-phi*S[j][i]-H[j][i]-beta[j])
                                                                                    ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                         ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                         ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                                    ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                                              ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                                              ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                                                       ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                                                       ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:111:72: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (PM[j][i]-S[j][i]-H2-beta[j])*(PM[j][i]-S[j][i]-H2-beta[j]) 
                                                                  ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                             ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                             ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                                        ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                                                  ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:57: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                                                  ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                                                               ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                                                               ˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:112:80: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
             - (MM[j][i]-phi*S[j][i]-H2-beta[j])*(MM[j][i]-phi*S[j][i]-H2-beta[j]))*.5 );
                                                                          ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:145:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                double x=log(S[offset2+l][offset+j]+1);
                             ˜ ˜˜˜˜˜˜˜^˜
./bgx_updates.hh:145:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                double x=log(S[offset2+l][offset+j]+1);
                             ˜            ˜˜˜˜˜˜^˜
./bgx_updates.hh:146:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]) - (x-mu2)*(x-mu2);
                          ˜˜ ^
./bgx_updates.hh:146:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]) - (x-mu2)*(x-mu2);
                          ˜˜    ^
./bgx_updates.hh:146:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]) - (x-mu2)*(x-mu2);
                                       ˜˜ ^
./bgx_updates.hh:146:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]) - (x-mu2)*(x-mu2);
                                       ˜˜    ^
./bgx_updates.hh:149:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[k][i]*( sum )*.5 + 
                        ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:149:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        return SAFE_EXP(taug[k][i]*( sum )*.5 + 
                        ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:150:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                             ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:150:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                             ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:150:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                                           ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:150:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                                           ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:151:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                                                       pnorm(mu2*sqrt(taug[k][i]))));
                                                                      ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:151:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                                                       pnorm(mu2*sqrt(taug[k][i]))));
                                                                      ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:186:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                double x=log(S[offset2+l][offset+j]+1);
                             ˜ ˜˜˜˜˜˜˜^˜
./bgx_updates.hh:186:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                double x=log(S[offset2+l][offset+j]+1);
                             ˜            ˜˜˜˜˜˜^˜
./bgx_updates.hh:187:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]);
                          ˜˜ ^
./bgx_updates.hh:187:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]);
                          ˜˜    ^
./bgx_updates.hh:187:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]);
                                       ˜˜ ^
./bgx_updates.hh:187:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                sum += (x-mu[k][i])*(x-mu[k][i]);
                                       ˜˜    ^
./bgx_updates.hh:191:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          SAFE_EXP((taug[k][i]-taug2)*( sum )*.5
                    ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:191:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          SAFE_EXP((taug[k][i]-taug2)*( sum )*.5
                    ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:192:57: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + (samplesets[k]*probesets[i]*.5-1)*log(taug2/taug[k][i])
                                                                 ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:192:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + (samplesets[k]*probesets[i]*.5-1)*log(taug2/taug[k][i])
                                                                 ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:193:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                          ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:193:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                          ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:193:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                                        ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:193:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + samplesets[k]*probesets[i]*log(pnorm(mu[k][i]*sqrt(taug[k][i]))/
                                                                        ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:194:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               pnorm(mu[k][i]*sqrt(taug2)))
                                     ˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:194:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                               pnorm(mu[k][i]*sqrt(taug2)))
                                     ˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                     ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                                ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                                ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                                            ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                                                       ˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                                                       ˜˜˜˜    ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:195:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                   + b[k]*((log(taug[k][i])-a[k])*(log(taug[k][i])-a[k])
                                                                   ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:196:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                           -(log(taug2)-a[k])*(log(taug2)-a[k]))*.5);
                                        ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:196:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                           -(log(taug2)-a[k])*(log(taug2)-a[k]))*.5);
                                                          ˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:214:60: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : H(H_), eta(eta_), p_mu(p_mu_), p_tau(p_tau_), probes(H[0].size()),cat_indices(cat_indices_){}
                                                          ˜^˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:219:43: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    for(unsigned int i=0; i < cat_indices[cat].size(); ++i)
                              ˜˜˜˜˜˜˜˜˜˜˜ ^˜˜
./bgx_updates.hh:221:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  double yi=log(H[j][cat_indices[cat][i]]+1);
                ˜ ^
./bgx_updates.hh:221:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  double yi=log(H[j][cat_indices[cat][i]]+1);
                ˜    ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:221:34: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
  double yi=log(H[j][cat_indices[cat][i]]+1);
                     ˜˜˜˜˜˜˜˜˜˜˜ ^˜˜
./bgx_updates.hh:222:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  sum += (yi-lambda[j][cat])*(yi-lambda[j][cat]) - (yi-lambda2)*(yi-lambda2);
             ˜˜˜˜˜˜ ^
./bgx_updates.hh:222:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  sum += (yi-lambda[j][cat])*(yi-lambda[j][cat]) - (yi-lambda2)*(yi-lambda2);
             ˜˜˜˜˜˜    ^˜˜
./bgx_updates.hh:222:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  sum += (yi-lambda[j][cat])*(yi-lambda[j][cat]) - (yi-lambda2)*(yi-lambda2);
                                 ˜˜˜˜˜˜ ^
./bgx_updates.hh:222:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  sum += (yi-lambda[j][cat])*(yi-lambda[j][cat]) - (yi-lambda2)*(yi-lambda2);
                                 ˜˜˜˜˜˜    ^˜˜
./bgx_updates.hh:225:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP(eta[j]*sum*.5 + /*probes*/cat_indices[cat].size()*log(pnorm(lambda[j][cat]*sqrt(eta[j]))/
                    ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:225:59: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP(eta[j]*sum*.5 + /*probes*/cat_indices[cat].size()*log(pnorm(lambda[j][cat]*sqrt(eta[j]))/
                                              ˜˜˜˜˜˜˜˜˜˜˜ ^˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:225:88: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP(eta[j]*sum*.5 + /*probes*/cat_indices[cat].size()*log(pnorm(lambda[j][cat]*sqrt(eta[j]))/
                                                                                ˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:225:91: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP(eta[j]*sum*.5 + /*probes*/cat_indices[cat].size()*log(pnorm(lambda[j][cat]*sqrt(eta[j]))/
                                                                                ˜˜˜˜˜˜    ^˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:225:105: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP(eta[j]*sum*.5 + /*probes*/cat_indices[cat].size()*log(pnorm(lambda[j][cat]*sqrt(eta[j]))/
                                                                                                    ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:226:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 pnorm(lambda2*sqrt(eta[j])))
                                    ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:227:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        + p_tau*( (lambda[j][cat]-p_mu)*(lambda[j][cat]-p_mu)
                   ˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:227:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        + p_tau*( (lambda[j][cat]-p_mu)*(lambda[j][cat]-p_mu)
                   ˜˜˜˜˜˜    ^˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:227:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        + p_tau*( (lambda[j][cat]-p_mu)*(lambda[j][cat]-p_mu)
                                         ˜˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:227:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        + p_tau*( (lambda[j][cat]-p_mu)*(lambda[j][cat]-p_mu)
                                         ˜˜˜˜˜˜    ^˜˜
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:245:68: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : H(H_), lambdas(lambdas_), alpha(alpha_), beta(beta_), probes(H[0].size()), cat_indices(cat_indices_), 
                                                                  ˜^˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:246:44: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    categories(categories_),noOfCategories(lambdas[0].size()){}
                                          ˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:253:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                  ˜ ^
./bgx_updates.hh:253:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                  ˜    ^
./bgx_updates.hh:253:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                             ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:253:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                             ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:253:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                                                             ˜ ^
./bgx_updates.hh:253:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                                                             ˜    ^
./bgx_updates.hh:253:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                                                                        ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:253:84: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (log(H[j][i]+1)-lambdas[j][categories[i]])*(log(H[j][i]+1)-lambdas[j][categories[i]]);
                                                                        ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:257:27: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
      sum2 += cat_indices[i].size()*log(pnorm(lambdas[j][i]*sqrt(eta[j]))/pnorm(lambdas[j][i]*sqrt(eta2)));
              ˜˜˜˜˜˜˜˜˜˜˜ ^
./bgx_updates.hh:257:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum2 += cat_indices[i].size()*log(pnorm(lambdas[j][i]*sqrt(eta[j]))/pnorm(lambdas[j][i]*sqrt(eta2)));
                                              ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:257:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum2 += cat_indices[i].size()*log(pnorm(lambdas[j][i]*sqrt(eta[j]))/pnorm(lambdas[j][i]*sqrt(eta2)));
                                              ˜˜˜˜˜˜˜    ^
./bgx_updates.hh:257:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum2 += cat_indices[i].size()*log(pnorm(lambdas[j][i]*sqrt(eta[j]))/pnorm(lambdas[j][i]*sqrt(eta2)));
                                                                 ˜˜˜ ^
./bgx_updates.hh:257:89: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum2 += cat_indices[i].size()*log(pnorm(lambdas[j][i]*sqrt(eta[j]))/pnorm(lambdas[j][i]*sqrt(eta2)));
                                                                                ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:257:92: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum2 += cat_indices[i].size()*log(pnorm(lambdas[j][i]*sqrt(eta[j]))/pnorm(lambdas[j][i]*sqrt(eta2)));
                                                                                ˜˜˜˜˜˜˜    ^
./bgx_updates.hh:260:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP((eta[j]-eta2)*(.5*sum+beta)
                     ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:262:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        + (alpha+.5*probes-1)*log(eta2/eta[j]));
                                       ˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:278:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    noOfCategories(lambdas[0].size()),categories(categories_) {}
                  ˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:284:26: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
      lam += cat_indices[i].size() * lambdas[j][i];
             ˜˜˜˜˜˜˜˜˜˜˜ ^
./bgx_updates.hh:284:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      lam += cat_indices[i].size() * lambdas[j][i];
                                     ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:284:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      lam += cat_indices[i].size() * lambdas[j][i];
                                     ˜˜˜˜˜˜˜    ^
./bgx_updates.hh:291:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (lam - lambdas[j][categories[i]]) * (lam - lambdas[j][categories[i]]);
                    ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:291:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (lam - lambdas[j][categories[i]]) * (lam - lambdas[j][categories[i]]);
                    ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:291:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (lam - lambdas[j][categories[i]]) * (lam - lambdas[j][categories[i]]);
                                                        ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:291:68: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sum += (lam - lambdas[j][categories[i]]) * (lam - lambdas[j][categories[i]]);
                                                        ˜˜˜˜˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:294:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    return SAFE_EXP((kappa[j]-kappa2)*(.5*sum+beta)
                     ˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:295:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        + (alpha+.5*probes-1)*log(kappa2/kappa[j]));
                                         ˜˜˜˜˜ ^
./bgx_updates.hh:33:44: note: expanded from macro 'SAFE_EXP'
#define SAFE_EXP(a) exp(max(-500.0,min(0.0,a)))
                                           ^
./bgx_updates.hh:315:85: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : phi(phi_), MM(MM_), S(S_), H(H_), tau(tau_), beta(beta_), rand(rand_), probes(MM[0].size()), samples(MM.size()),
                                                                                   ˜^˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:315:108: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : phi(phi_), MM(MM_), S(S_), H(H_), tau(tau_), beta(beta_), rand(rand_), probes(MM[0].size()), samples(MM.size()),
                                                                                                          ˜^˜˜˜˜˜˜˜˜
./bgx_updates.hh:325:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                   ˜ ^
./bgx_updates.hh:325:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                   ˜    ^
./bgx_updates.hh:325:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                            ˜˜ ^
./bgx_updates.hh:325:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                            ˜˜    ^
./bgx_updates.hh:325:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                                     ˜ ^
./bgx_updates.hh:325:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                                     ˜    ^
./bgx_updates.hh:325:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumMMmH += S[j][i]*(MM[j][i]-H[j][i]-beta[j]);
                                             ˜˜˜˜ ^
./bgx_updates.hh:326:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumS += S[j][i]*S[j][i];
                ˜ ^
./bgx_updates.hh:326:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumS += S[j][i]*S[j][i];
                ˜    ^
./bgx_updates.hh:326:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumS += S[j][i]*S[j][i];
                        ˜ ^
./bgx_updates.hh:326:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sumS += S[j][i]*S[j][i];
                        ˜    ^
./bgx_updates.hh:328:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sumMMmHTot += sumMMmH*tau[j];
                            ˜˜˜ ^
./bgx_updates.hh:329:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sumSTot += sumS*tau[j];
                      ˜˜˜ ^
./bgx_updates.hh:354:44: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
      p_beta(p_beta_), rand(rand_), probes(PM[0].size()), samples(PM.size()) {}
                                          ˜^˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:354:67: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
      p_beta(p_beta_), rand(rand_), probes(PM[0].size()), samples(PM.size()) {}
                                                                 ˜^˜˜˜˜˜˜˜˜
./bgx_updates.hh:363:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                       ˜˜ ^
./bgx_updates.hh:363:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                       ˜˜    ^
./bgx_updates.hh:363:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                 ˜ ^
./bgx_updates.hh:363:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                 ˜    ^
./bgx_updates.hh:363:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                         ˜ ^
./bgx_updates.hh:363:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                         ˜    ^
./bgx_updates.hh:363:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                 ˜˜˜˜ ^
./bgx_updates.hh:363:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                ˜˜ ^
./bgx_updates.hh:363:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                ˜˜    ^
./bgx_updates.hh:363:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                          ˜ ^
./bgx_updates.hh:363:73: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                          ˜    ^
./bgx_updates.hh:363:78: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                                  ˜ ^
./bgx_updates.hh:363:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                                  ˜    ^
./bgx_updates.hh:363:89: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sum += ( ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) * ( PM[j][i]-(S[j][i]+H[j][i]+beta[j]) ) + 
                                                                                          ˜˜˜˜ ^
./bgx_updates.hh:364:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                   ˜˜ ^
./bgx_updates.hh:364:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                   ˜˜    ^
./bgx_updates.hh:364:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                 ˜ ^
./bgx_updates.hh:364:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                 ˜    ^
./bgx_updates.hh:364:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                         ˜ ^
./bgx_updates.hh:364:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                         ˜    ^
./bgx_updates.hh:364:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                 ˜˜˜˜ ^
./bgx_updates.hh:364:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                ˜˜ ^
./bgx_updates.hh:364:57: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                ˜˜    ^
./bgx_updates.hh:364:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                              ˜ ^
./bgx_updates.hh:364:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                              ˜    ^
./bgx_updates.hh:364:75: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                                      ˜ ^
./bgx_updates.hh:364:78: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                                      ˜    ^
./bgx_updates.hh:364:86: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                 ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) * ( MM[j][i]-(phi*S[j][i]+H[j][i]+beta[j]) ) );
                                                                                              ˜˜˜˜ ^
./bgx_updates.hh:366:6: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        tau[j]=rand->Gamma( alpha+probes, p_beta+sum*.5 );
        ˜˜˜ ^
./bgx_updates.hh:523:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          gammas[k] += 0.5*log(eta[j]) +
                               ˜˜˜ ^
./bgx_updates.hh:524:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            log(pnorm(sqrt(eta[j])*lambdas[j][k])) +
                           ˜˜˜ ^
./bgx_updates.hh:524:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            log(pnorm(sqrt(eta[j])*lambdas[j][k])) +
                                   ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:524:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            log(pnorm(sqrt(eta[j])*lambdas[j][k])) +
                                   ˜˜˜˜˜˜˜    ^
./bgx_updates.hh:525:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            eta[j]*.5*(log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k])*
            ˜˜˜ ^
./bgx_updates.hh:525:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            eta[j]*.5*(log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k])*
                           ˜ ^
./bgx_updates.hh:525:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            eta[j]*.5*(log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k])*
                           ˜    ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:525:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            eta[j]*.5*(log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k])*
                                                          ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:525:70: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            eta[j]*.5*(log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k])*
                                                          ˜˜˜˜˜˜˜    ^
./bgx_updates.hh:526:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              (log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k]);
                   ˜ ^
./bgx_updates.hh:526:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              (log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k]);
                   ˜    ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
./bgx_updates.hh:526:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              (log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k]);
                                                  ˜˜˜˜˜˜˜ ^
./bgx_updates.hh:526:62: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              (log(H[j][unknownSeqProbePos[i]]+1)-lambdas[j][k]);
                                                  ˜˜˜˜˜˜˜    ^
bgx.cc:51:18: warning: variadic macros are a C99 feature [-Wvariadic-macros]
  #define PRINTF(...) Rprintf((char*) __VA_ARGS__)
                 ^
bgx.cc:121:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array2d s(*samples),h(*samples),PM(*samples),MM(*samples), lambda(*samples),
          ˜ ^˜˜˜˜˜˜˜
bgx.cc:121:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array2d s(*samples),h(*samples),PM(*samples),MM(*samples), lambda(*samples),
                      ˜ ^˜˜˜˜˜˜˜
bgx.cc:121:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array2d s(*samples),h(*samples),PM(*samples),MM(*samples), lambda(*samples),
                                  ˜˜ ^˜˜˜˜˜˜˜
bgx.cc:121:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array2d s(*samples),h(*samples),PM(*samples),MM(*samples), lambda(*samples),
                                               ˜˜ ^˜˜˜˜˜˜˜
bgx.cc:121:69: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array2d s(*samples),h(*samples),PM(*samples),MM(*samples), lambda(*samples),
                                                             ˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:122:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu(*conditions),sigma(*conditions), s_jmps(*samples), h_jmps(*samples), 
    ˜˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:122:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu(*conditions),sigma(*conditions), s_jmps(*samples), h_jmps(*samples), 
                    ˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:122:48: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu(*conditions),sigma(*conditions), s_jmps(*samples), h_jmps(*samples), 
                                        ˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:122:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu(*conditions),sigma(*conditions), s_jmps(*samples), h_jmps(*samples), 
                                                          ˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:123:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu_jmps(*conditions), sigma_jmps(*conditions), lambda_jmps(*samples);
    ˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:123:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu_jmps(*conditions), sigma_jmps(*conditions), lambda_jmps(*samples);
                          ˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:123:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu_jmps(*conditions), sigma_jmps(*conditions), lambda_jmps(*samples);
                                                   ˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:126:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    s[j].resize(*probes);
    ˜ ^
bgx.cc:126:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    s[j].resize(*probes);
    ˜           ^˜˜˜˜˜˜
bgx.cc:127:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    s_jmps[j].resize(*probes);
    ˜˜˜˜˜˜ ^
bgx.cc:127:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    s_jmps[j].resize(*probes);
    ˜˜˜˜˜˜           ^˜˜˜˜˜˜
bgx.cc:128:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    h[j].resize(*probes);
    ˜ ^
bgx.cc:128:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    h[j].resize(*probes);
    ˜           ^˜˜˜˜˜˜
bgx.cc:129:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    h_jmps[j].resize(*probes);
    ˜˜˜˜˜˜ ^
bgx.cc:129:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    h_jmps[j].resize(*probes);
    ˜˜˜˜˜˜           ^˜˜˜˜˜˜
bgx.cc:130:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    MM[j].resize(*probes);
    ˜˜ ^
bgx.cc:130:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    MM[j].resize(*probes);
    ˜˜           ^˜˜˜˜˜˜
bgx.cc:131:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    PM[j].resize(*probes);
    ˜˜ ^
bgx.cc:131:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    PM[j].resize(*probes);
    ˜˜           ^˜˜˜˜˜˜
bgx.cc:132:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    lambda[j].resize(*numberCategories);
    ˜˜˜˜˜˜ ^
bgx.cc:132:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    lambda[j].resize(*numberCategories);
    ˜˜˜˜˜˜           ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
bgx.cc:133:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    lambda_jmps[j].resize(*numberCategories);
    ˜˜˜˜˜˜˜˜˜˜˜ ^
bgx.cc:133:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    lambda_jmps[j].resize(*numberCategories);
    ˜˜˜˜˜˜˜˜˜˜˜           ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
bgx.cc:135:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      s_jmps[j][i]=*s_jmp;
      ˜˜˜˜˜˜ ^
bgx.cc:135:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      s_jmps[j][i]=*s_jmp;
      ˜˜˜˜˜˜    ^
bgx.cc:136:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      h_jmps[j][i]=*h_jmp;
      ˜˜˜˜˜˜ ^
bgx.cc:136:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      h_jmps[j][i]=*h_jmp;
      ˜˜˜˜˜˜    ^
bgx.cc:138:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    for(int k=0; k < *numberCategories; k++) lambda_jmps[j][k] = *lambda_jmp;
                                             ˜˜˜˜˜˜˜˜˜˜˜ ^
bgx.cc:138:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    for(int k=0; k < *numberCategories; k++) lambda_jmps[j][k] = *lambda_jmp;
                                             ˜˜˜˜˜˜˜˜˜˜˜    ^
bgx.cc:141:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu[j].resize(*genes);
    ˜˜ ^
bgx.cc:141:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu[j].resize(*genes);
    ˜˜           ^˜˜˜˜˜
bgx.cc:142:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu_jmps[j].resize(*genes);
    ˜˜˜˜˜˜˜ ^
bgx.cc:142:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    mu_jmps[j].resize(*genes);
    ˜˜˜˜˜˜˜           ^˜˜˜˜˜
bgx.cc:143:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    sigma[j].resize(*genes);
    ˜˜˜˜˜ ^
bgx.cc:143:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    sigma[j].resize(*genes);
    ˜˜˜˜˜           ^˜˜˜˜˜
bgx.cc:144:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    sigma_jmps[j].resize(*genes);
    ˜˜˜˜˜˜˜˜˜˜ ^
bgx.cc:144:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    sigma_jmps[j].resize(*genes);
    ˜˜˜˜˜˜˜˜˜˜           ^˜˜˜˜˜
bgx.cc:146:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      mu_jmps[j][i]=*mu_jmp;
      ˜˜˜˜˜˜˜ ^
bgx.cc:146:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      mu_jmps[j][i]=*mu_jmp;
      ˜˜˜˜˜˜˜    ^
bgx.cc:147:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sigma_jmps[j][i]=*sigma_jmp;
      ˜˜˜˜˜˜˜˜˜˜ ^
bgx.cc:147:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      sigma_jmps[j][i]=*sigma_jmp;
      ˜˜˜˜˜˜˜˜˜˜    ^
bgx.cc:152:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array tau(*samples), beta(*samples), eta(*samples), eta_jmps(*samples), a(*conditions), b(*conditions);
        ˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:152:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array tau(*samples), beta(*samples), eta(*samples), eta_jmps(*samples), a(*conditions), b(*conditions);
                       ˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:152:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array tau(*samples), beta(*samples), eta(*samples), eta_jmps(*samples), a(*conditions), b(*conditions);
                                       ˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:152:64: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array tau(*samples), beta(*samples), eta(*samples), eta_jmps(*samples), a(*conditions), b(*conditions);
                                                      ˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:152:77: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array tau(*samples), beta(*samples), eta(*samples), eta_jmps(*samples), a(*conditions), b(*conditions);
                                                                          ˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:152:93: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array tau(*samples), beta(*samples), eta(*samples), eta_jmps(*samples), a(*conditions), b(*conditions);
                                                                                          ˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:153:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  for(int j=0; j < *samples; j++) eta_jmps[j] = *eta_jmp;
                                  ˜˜˜˜˜˜˜˜ ^
bgx.cc:172:15: warning: implicit conversion changes signedness: 'int' to 'boost::uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  Random rand(*seed);
         ˜˜˜˜ ^˜˜˜˜
bgx.cc:320:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      PM[j][i]=*(pm+i+*probes*j);
      ˜˜ ^
bgx.cc:320:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      PM[j][i]=*(pm+i+*probes*j);
      ˜˜    ^
bgx.cc:321:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      MM[j][i]=*(mm+i+*probes*j);
      ˜˜ ^
bgx.cc:321:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      MM[j][i]=*(mm+i+*probes*j);
      ˜˜    ^
bgx.cc:330:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    tau[j]=0.0005/**/*rand.Uniform(0.5,2)/**/;
    ˜˜˜ ^
bgx.cc:331:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    beta[j]=0;
    ˜˜˜˜ ^
bgx.cc:335:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      double tmp = (PM[j][i]-MM[j][i])/(1-phi);
                    ˜˜ ^
bgx.cc:335:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      double tmp = (PM[j][i]-MM[j][i])/(1-phi);
                    ˜˜    ^
bgx.cc:335:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      double tmp = (PM[j][i]-MM[j][i])/(1-phi);
                             ˜˜ ^
bgx.cc:335:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      double tmp = (PM[j][i]-MM[j][i])/(1-phi);
                             ˜˜    ^
bgx.cc:336:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      s[j][i] = 0.1>tmp ? 0.1 : tmp; 
      ˜ ^
bgx.cc:336:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      s[j][i] = 0.1>tmp ? 0.1 : tmp; 
      ˜    ^
bgx.cc:337:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      tmp = (phi*PM[j][i]-MM[j][i])/(phi-1);
                 ˜˜ ^
bgx.cc:337:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      tmp = (phi*PM[j][i]-MM[j][i])/(phi-1);
                 ˜˜    ^
bgx.cc:337:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      tmp = (phi*PM[j][i]-MM[j][i])/(phi-1);
                          ˜˜ ^
bgx.cc:337:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      tmp = (phi*PM[j][i]-MM[j][i])/(phi-1);
                          ˜˜    ^
bgx.cc:339:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        h[j][i]=0.1;
        ˜ ^
bgx.cc:339:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        h[j][i]=0.1;
        ˜    ^
bgx.cc:342:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        h[j][i]=tmp;
        ˜ ^
bgx.cc:342:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        h[j][i]=tmp;
        ˜    ^
bgx.cc:348:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      double L = log(h[j][i]+1);
                     ˜ ^
bgx.cc:348:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      double L = log(h[j][i]+1);
                     ˜    ^
bgx.cc:353:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      lambda[j][i]=mean_lh;
      ˜˜˜˜˜˜ ^
bgx.cc:353:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      lambda[j][i]=mean_lh;
      ˜˜˜˜˜˜    ^
bgx.cc:356:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    eta[j]=1.0/var_lh;
    ˜˜˜ ^
bgx.cc:362:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  array2d *ebS = new array2d(*samples);
                     ˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜
bgx.cc:367:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    (*ebS)[j].resize(*probes);  
    ˜      ^
bgx.cc:367:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    (*ebS)[j].resize(*probes);  
    ˜                ^˜˜˜˜˜˜
bgx.cc:376:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if ( PM[j][probeCounter+p] > MM[j][probeCounter+p] ){
             ˜˜ ^
bgx.cc:376:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if ( PM[j][probeCounter+p] > MM[j][probeCounter+p] ){
             ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:376:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if ( PM[j][probeCounter+p] > MM[j][probeCounter+p] ){
                                     ˜˜ ^
bgx.cc:376:56: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if ( PM[j][probeCounter+p] > MM[j][probeCounter+p] ){
                                     ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:377:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = PM[j][probeCounter+p] - MM[j][probeCounter+p];
          ˜      ^
bgx.cc:377:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = PM[j][probeCounter+p] - MM[j][probeCounter+p];
          ˜         ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:377:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = PM[j][probeCounter+p] - MM[j][probeCounter+p];
                                      ˜˜ ^
bgx.cc:377:57: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = PM[j][probeCounter+p] - MM[j][probeCounter+p];
                                      ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:377:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = PM[j][probeCounter+p] - MM[j][probeCounter+p];
                                                              ˜˜ ^
bgx.cc:377:81: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = PM[j][probeCounter+p] - MM[j][probeCounter+p];
                                                              ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:379:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          if( minimumDiff > (*ebS)[j][probeCounter+p] ){
                            ˜      ^
bgx.cc:379:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          if( minimumDiff > (*ebS)[j][probeCounter+p] ){
                            ˜         ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:380:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            minimumDiff = (*ebS)[j][probeCounter+p];
                          ˜      ^
bgx.cc:380:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            minimumDiff = (*ebS)[j][probeCounter+p];
                          ˜         ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:389:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if(minimumDiff==HUGE_VAL || PM[j][probeCounter+p]==MM[j][probeCounter+p]) (*ebS)[j][probeCounter+p] = 0.0;
                                    ˜˜ ^
bgx.cc:389:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if(minimumDiff==HUGE_VAL || PM[j][probeCounter+p]==MM[j][probeCounter+p]) (*ebS)[j][probeCounter+p] = 0.0;
                                    ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:389:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if(minimumDiff==HUGE_VAL || PM[j][probeCounter+p]==MM[j][probeCounter+p]) (*ebS)[j][probeCounter+p] = 0.0;
                                                           ˜˜ ^
bgx.cc:389:78: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if(minimumDiff==HUGE_VAL || PM[j][probeCounter+p]==MM[j][probeCounter+p]) (*ebS)[j][probeCounter+p] = 0.0;
                                                           ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:389:90: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if(minimumDiff==HUGE_VAL || PM[j][probeCounter+p]==MM[j][probeCounter+p]) (*ebS)[j][probeCounter+p] = 0.0;
                                                                                  ˜      ^
bgx.cc:389:105: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if(minimumDiff==HUGE_VAL || PM[j][probeCounter+p]==MM[j][probeCounter+p]) (*ebS)[j][probeCounter+p] = 0.0;
                                                                                  ˜         ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:391:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        else if ( PM[j][probeCounter+p] < MM[j][probeCounter+p] ){    
                  ˜˜ ^
bgx.cc:391:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        else if ( PM[j][probeCounter+p] < MM[j][probeCounter+p] ){    
                  ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:391:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        else if ( PM[j][probeCounter+p] < MM[j][probeCounter+p] ){    
                                          ˜˜ ^
bgx.cc:391:61: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        else if ( PM[j][probeCounter+p] < MM[j][probeCounter+p] ){    
                                          ˜˜    ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:392:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = (double(positive)/double(probesets[i]))*minimumDiff;
          ˜      ^
bgx.cc:392:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          (*ebS)[j][probeCounter+p] = (double(positive)/double(probesets[i]))*minimumDiff;
          ˜         ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:404:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    array2d vars(*conditions);
            ˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
bgx.cc:407:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      vars[j].resize(*genes);
      ˜˜˜˜ ^
bgx.cc:407:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      vars[j].resize(*genes);
      ˜˜˜˜           ^˜˜˜˜˜
bgx.cc:415:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          double logEbS=log((*ebS)[sampleCounter+sam][probeCounter+p]+1.0);
                            ˜      ˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜
bgx.cc:415:67: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          double logEbS=log((*ebS)[sampleCounter+sam][probeCounter+p]+1.0);
                            ˜                         ˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:421:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        vars[j][i] = (1.0/(double(probesets[i] * samplesets[j])-1.0))*
        ˜˜˜˜ ^
bgx.cc:421:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        vars[j][i] = (1.0/(double(probesets[i] * samplesets[j])-1.0))*
        ˜˜˜˜    ^
bgx.cc:432:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         if(vars[j][i]<minVar && vars[j][i]>0) minVar=vars[j][i];
            ˜˜˜˜ ^
bgx.cc:432:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         if(vars[j][i]<minVar && vars[j][i]>0) minVar=vars[j][i];
            ˜˜˜˜    ^
bgx.cc:432:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         if(vars[j][i]<minVar && vars[j][i]>0) minVar=vars[j][i];
                                 ˜˜˜˜ ^
bgx.cc:432:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         if(vars[j][i]<minVar && vars[j][i]>0) minVar=vars[j][i];
                                 ˜˜˜˜    ^
bgx.cc:432:60: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         if(vars[j][i]<minVar && vars[j][i]>0) minVar=vars[j][i];
                                                      ˜˜˜˜ ^
bgx.cc:432:63: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         if(vars[j][i]<minVar && vars[j][i]>0) minVar=vars[j][i];
                                                      ˜˜˜˜    ^
bgx.cc:436:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         a[j] = 0;
         ˜ ^
bgx.cc:437:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
         b[j] = 3;
         ˜ ^
bgx.cc:442:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
           if(vars[j][i]>0.0) logVar = log(vars[j][i]);
              ˜˜˜˜ ^
bgx.cc:442:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
           if(vars[j][i]>0.0) logVar = log(vars[j][i]);
              ˜˜˜˜    ^
bgx.cc:442:49: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
           if(vars[j][i]>0.0) logVar = log(vars[j][i]);
                                           ˜˜˜˜ ^
bgx.cc:442:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
           if(vars[j][i]>0.0) logVar = log(vars[j][i]);
                                           ˜˜˜˜    ^
bgx.cc:447:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        a[j] = tempS / double(*genes);
        ˜ ^
bgx.cc:449:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        b[j] = (double(*genes)-1)/(tempSS-(tempS*tempS / double(*genes)));
        ˜ ^
bgx.cc:463:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    empBayesEst_ << '\t'  << j << '\t'  <<  a[j] << '\t'  <<  b[j] << endl;
                                            ˜ ^
bgx.cc:463:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    empBayesEst_ << '\t'  << j << '\t'  <<  a[j] << '\t'  <<  b[j] << endl;
                                                              ˜ ^
bgx.cc:482:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        mu[j][i] = 0;
        ˜˜ ^
bgx.cc:482:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        mu[j][i] = 0;
        ˜˜    ^
bgx.cc:483:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sigma[j][i] = 1;
        ˜˜˜˜˜ ^
bgx.cc:483:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sigma[j][i] = 1;
        ˜˜˜˜˜    ^
bgx.cc:497:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                  mean_ls += log(s[sam+s_loc][p+p_loc]+1);
                                 ˜ ˜˜˜^˜˜˜˜˜
bgx.cc:497:41: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                  mean_ls += log(s[sam+s_loc][p+p_loc]+1);
                                 ˜            ˜^˜˜˜˜˜
bgx.cc:502:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double L = log(s[sam+s_loc][p+p_loc]+1);
                           ˜ ˜˜˜^˜˜˜˜˜
bgx.cc:502:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double L = log(s[sam+s_loc][p+p_loc]+1);
                           ˜            ˜^˜˜˜˜˜
bgx.cc:507:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        mu[j][i]=mean_ls;
        ˜˜ ^
bgx.cc:507:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        mu[j][i]=mean_ls;
        ˜˜    ^
bgx.cc:509:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          sigma[j][i]=1/var_ls;
          ˜˜˜˜˜ ^
bgx.cc:509:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          sigma[j][i]=1/var_ls;
          ˜˜˜˜˜    ^
bgx.cc:512:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          sigma[j][i]=1/minVar;
          ˜˜˜˜˜ ^
bgx.cc:512:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          sigma[j][i]=1/minVar;
          ˜˜˜˜˜    ^
bgx.cc:522:36: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
  vector<vector<int> > cat_indices(*numberCategories);
                       ˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
bgx.cc:525:22: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    else cat_indices[categories[i]].push_back(i);
         ˜˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
bgx.cc:710:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          muave[g+*genes*c] += mu[c][g];
                               ˜˜ ^
bgx.cc:710:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          muave[g+*genes*c] += mu[c][g];
                               ˜˜    ^
bgx.cc:717:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          mu_[c] << mu[c][g] << '\t';
                    ˜˜ ^
bgx.cc:717:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          mu_[c] << mu[c][g] << '\t';
                    ˜˜    ^
bgx.cc:726:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            xave[p+*probes*sample] += log(s[sample][p]+1);
                                          ˜ ^˜˜˜˜˜
bgx.cc:726:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            xave[p+*probes*sample] += log(s[sample][p]+1);
                                          ˜         ^
bgx.cc:727:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            yave[p+*probes*sample] += log(h[sample][p]+1);
                                          ˜ ^˜˜˜˜˜
bgx.cc:727:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            yave[p+*probes*sample] += log(h[sample][p]+1);
                                          ˜         ^
bgx.cc:733:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sigma_[c] << 1.0/sigma[c][g] << '\t';
                             ˜˜˜˜˜ ^
bgx.cc:733:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            sigma_[c] << 1.0/sigma[c][g] << '\t';
                             ˜˜˜˜˜    ^
bgx.cc:741:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          tau_ << 1/tau[sample] << '\t';
                    ˜˜˜ ^˜˜˜˜˜
bgx.cc:742:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          eta_ << 1/eta[sample] << '\t';
                    ˜˜˜ ^˜˜˜˜˜
bgx.cc:744:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            lambda_[sample] << lambda[sample][c] << '\t';
                               ˜˜˜˜˜˜ ^˜˜˜˜˜
bgx.cc:744:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            lambda_[sample] << lambda[sample][c] << '\t';
                               ˜˜˜˜˜˜         ^
bgx.cc:765:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              XS[sample] << log(s[sample][(whichProbesToWatch[g])+p]+1) << '\t';
                                ˜ ^˜˜˜˜˜
bgx.cc:765:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              XS[sample] << log(s[sample][(whichProbesToWatch[g])+p]+1) << '\t';
                                ˜         ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜
bgx.cc:766:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              YS[sample] << log(h[sample][(whichProbesToWatch[g])+p]+1) << '\t';
                                ˜ ^˜˜˜˜˜
bgx.cc:766:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              YS[sample] << log(h[sample][(whichProbesToWatch[g])+p]+1) << '\t';
                                ˜         ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜
In file included from bgx.cc:24:
In file included from ./rand.hh:32:
In file included from ../boostIncl/boost/random.hpp:41:
../boostIncl/boost/random/lagged_fibonacci.hpp:289:25: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
    minstd_rand0 intgen(value);
                 ˜˜˜˜˜˜ ^˜˜˜˜
../boostIncl/boost/random/lagged_fibonacci.hpp:269:66: note: in instantiation of member function 'boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>::seed' requested here
  explicit lagged_fibonacci_01(uint32_t value) { init_modulus(); seed(value); }
                                                                 ^
./rand.hh:48:38: note: in instantiation of member function 'boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>::lagged_fibonacci_01' requested here
  Boost_Wrap(boost::uint32_t seed) : Engine(seed), U01(), Generator(Engine,U01) {}
                                     ^
./rand.hh:60:42: note: in instantiation of member function 'Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>::Boost_Wrap' requested here
  Rand(boost::uint32_t seed=643774788) : unif(seed), GM_a1(0), GM_a2(0) {}
                                         ^
bgx.cc:172:10: note: in instantiation of member function 'Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double>::Rand' requested here
  Random rand(*seed);
         ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:110:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜ ^
bgx.cc:539:11: note: in instantiation of member function 'RWM<S_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::RWM' requested here
  S = new RWM<S_T,array2d>(s,*AccS,s_jmps,*batch_size,*optimalAR,*s_jmp,&rand);
          ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:110:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
                        ˜˜˜˜˜ ^
./rwm.hh:111:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:111:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
                                 ˜˜˜˜˜ ^
./rwm.hh:112:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i]=0;
      ˜˜˜˜˜˜˜ ^
./rwm.hh:113:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i]=0;
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:107:204: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : Param(Param_), AccProb(AccProb_), jmp_sizes(jmp_sizes_), batch_size(batch_size_), optimal_AR(optimal_AR_),start_jmp(start_jmp_), rand(rand_),nAccept(Param),batch(1),nAcceptThisBatch(Param), length(Param.size())
                                                                                                                                                                                                          ˜^˜˜˜˜˜˜˜˜˜˜˜
./rwm.hh:110:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜ ^
bgx.cc:542:11: note: in instantiation of member function 'RWM<H_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::RWM' requested here
  H = new RWM<H_T,array2d>(h,*AccH,h_jmps,*batch_size,*optimalAR, *h_jmp, &rand);
          ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:110:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
                        ˜˜˜˜˜ ^
./rwm.hh:111:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:111:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
                                 ˜˜˜˜˜ ^
./rwm.hh:112:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i]=0;
      ˜˜˜˜˜˜˜ ^
./rwm.hh:113:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i]=0;
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:107:204: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : Param(Param_), AccProb(AccProb_), jmp_sizes(jmp_sizes_), batch_size(batch_size_), optimal_AR(optimal_AR_),start_jmp(start_jmp_), rand(rand_),nAccept(Param),batch(1),nAcceptThisBatch(Param), length(Param.size())
                                                                                                                                                                                                          ˜^˜˜˜˜˜˜˜˜˜˜˜
./rwm.hh:110:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜ ^
bgx.cc:545:12: note: in instantiation of member function 'RWM<Mu_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::RWM' requested here
  Mu = new RWM<Mu_T,array2d>(mu,*AccMu,mu_jmps,*batch_size,*optimalAR,*mu_jmp,&rand);
           ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:110:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
                        ˜˜˜˜˜ ^
./rwm.hh:111:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:111:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
                                 ˜˜˜˜˜ ^
./rwm.hh:112:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i]=0;
      ˜˜˜˜˜˜˜ ^
./rwm.hh:113:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i]=0;
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:107:204: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : Param(Param_), AccProb(AccProb_), jmp_sizes(jmp_sizes_), batch_size(batch_size_), optimal_AR(optimal_AR_),start_jmp(start_jmp_), rand(rand_),nAccept(Param),batch(1),nAcceptThisBatch(Param), length(Param.size())
                                                                                                                                                                                                          ˜^˜˜˜˜˜˜˜˜˜˜˜
./rwm.hh:110:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜ ^
bgx.cc:548:15: note: in instantiation of member function 'RWM<Sigma_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::RWM' requested here
  Sigma = new RWM<Sigma_T,array2d>(sigma,*AccSigma,sigma_jmps,*batch_size,*optimalAR,*sigma_jmp,&rand);
              ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:110:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
                        ˜˜˜˜˜ ^
./rwm.hh:111:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:111:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
                                 ˜˜˜˜˜ ^
./rwm.hh:112:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i]=0;
      ˜˜˜˜˜˜˜ ^
./rwm.hh:113:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i]=0;
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:107:204: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : Param(Param_), AccProb(AccProb_), jmp_sizes(jmp_sizes_), batch_size(batch_size_), optimal_AR(optimal_AR_),start_jmp(start_jmp_), rand(rand_),nAccept(Param),batch(1),nAcceptThisBatch(Param), length(Param.size())
                                                                                                                                                                                                          ˜^˜˜˜˜˜˜˜˜˜˜˜
./rwm.hh:110:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜ ^
bgx.cc:551:16: note: in instantiation of member function 'RWM<Lambda_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::RWM' requested here
  Lambda = new RWM<Lambda_T,array2d>(lambda,*AccLambda,lambda_jmps,*batch_size,*optimalAR,*lambda_jmp,&rand);
               ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:110:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i].resize(Param[i].size());
                        ˜˜˜˜˜ ^
./rwm.hh:111:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:111:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i].resize(Param[i].size());
                                 ˜˜˜˜˜ ^
./rwm.hh:112:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAccept[i]=0;
      ˜˜˜˜˜˜˜ ^
./rwm.hh:113:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i]=0;
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:107:204: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : Param(Param_), AccProb(AccProb_), jmp_sizes(jmp_sizes_), batch_size(batch_size_), optimal_AR(optimal_AR_),start_jmp(start_jmp_), rand(rand_),nAccept(Param),batch(1),nAcceptThisBatch(Param), length(Param.size())
                                                                                                                                                                                                          ˜^˜˜˜˜˜˜˜˜˜˜˜
./rwm.hh:45:203: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    : Param(Param_), AccProb(AccProb_), jmp_sizes(jmp_sizes_), batch_size(batch_size_), optimal_AR(optimal_AR_),start_jmp(start_jmp_), rand(rand_),nAccept(Param),batch(1),nAcceptThisBatch(Param),length(Param.size())
                                                                                                                                                                                                         ˜^˜˜˜˜˜˜˜˜˜˜˜
bgx.cc:554:13: note: in instantiation of member function 'RWM<Eta_T, std::valarray<double>, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::RWM' requested here
  Eta = new RWM<Eta_T>(eta,*AccEta,eta_jmps,*batch_size,*optimalAR,*eta_jmp,&rand);
            ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:119:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            for(unsigned int i=0; i<Param[j].size(); ++i) {
                                    ˜˜˜˜˜ ^
bgx.cc:635:8: note: in instantiation of member function 'RWM<S_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update' requested here
    S->Update();
       ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:120:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                           ˜˜˜˜˜ ^
./rwm.hh:120:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                                       ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:121:54: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
              if(rand->Uniform() < AccProb(Param,proposal,j,i)) {
                                   ˜˜˜˜˜˜˜                  ^
./rwm.hh:122:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          Param[j][i]=proposal;
          ˜˜˜˜˜ ^
./rwm.hh:123:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAccept[j][i];
            ˜˜˜˜˜˜˜ ^
./rwm.hh:124:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAcceptThisBatch[j][i];
            ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:119:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            for(unsigned int i=0; i<Param[j].size(); ++i) {
                                    ˜˜˜˜˜ ^
bgx.cc:636:8: note: in instantiation of member function 'RWM<H_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update' requested here
    H->Update();
       ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:120:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                           ˜˜˜˜˜ ^
./rwm.hh:120:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                                       ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:121:54: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
              if(rand->Uniform() < AccProb(Param,proposal,j,i)) {
                                   ˜˜˜˜˜˜˜                  ^
./rwm.hh:122:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          Param[j][i]=proposal;
          ˜˜˜˜˜ ^
./rwm.hh:123:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAccept[j][i];
            ˜˜˜˜˜˜˜ ^
./rwm.hh:124:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAcceptThisBatch[j][i];
            ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:119:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            for(unsigned int i=0; i<Param[j].size(); ++i) {
                                    ˜˜˜˜˜ ^
bgx.cc:638:9: note: in instantiation of member function 'RWM<Mu_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update' requested here
    Mu->Update();
        ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:120:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                           ˜˜˜˜˜ ^
./rwm.hh:120:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                                       ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:121:54: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
              if(rand->Uniform() < AccProb(Param,proposal,j,i)) {
                                   ˜˜˜˜˜˜˜                  ^
./rwm.hh:122:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          Param[j][i]=proposal;
          ˜˜˜˜˜ ^
./rwm.hh:123:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAccept[j][i];
            ˜˜˜˜˜˜˜ ^
./rwm.hh:124:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAcceptThisBatch[j][i];
            ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:119:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            for(unsigned int i=0; i<Param[j].size(); ++i) {
                                    ˜˜˜˜˜ ^
bgx.cc:639:12: note: in instantiation of member function 'RWM<Sigma_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update' requested here
    Sigma->Update();
           ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:120:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                           ˜˜˜˜˜ ^
./rwm.hh:120:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                                       ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:121:54: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
              if(rand->Uniform() < AccProb(Param,proposal,j,i)) {
                                   ˜˜˜˜˜˜˜                  ^
./rwm.hh:122:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          Param[j][i]=proposal;
          ˜˜˜˜˜ ^
./rwm.hh:123:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAccept[j][i];
            ˜˜˜˜˜˜˜ ^
./rwm.hh:124:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAcceptThisBatch[j][i];
            ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:119:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            for(unsigned int i=0; i<Param[j].size(); ++i) {
                                    ˜˜˜˜˜ ^
bgx.cc:641:13: note: in instantiation of member function 'RWM<Lambda_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update' requested here
    Lambda->Update();
            ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:120:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                           ˜˜˜˜˜ ^
./rwm.hh:120:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
              double proposal=rand->Normal(Param[j][i],jmp_sizes[j][i]);
                                                       ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:121:54: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
              if(rand->Uniform() < AccProb(Param,proposal,j,i)) {
                                   ˜˜˜˜˜˜˜                  ^
./rwm.hh:122:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          Param[j][i]=proposal;
          ˜˜˜˜˜ ^
./rwm.hh:123:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAccept[j][i];
            ˜˜˜˜˜˜˜ ^
./rwm.hh:124:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          ++nAcceptThisBatch[j][i];
            ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:54:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double proposal=rand->Normal(Param[i],jmp_sizes[i]);
                                     ˜˜˜˜˜ ^
bgx.cc:642:10: note: in instantiation of member function 'RWM<Eta_T, std::valarray<double>, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update' requested here
    Eta->Update();
         ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:54:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double proposal=rand->Normal(Param[i],jmp_sizes[i]);
                                              ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:57:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            Param[i]=proposal;
            ˜˜˜˜˜ ^
./rwm.hh:58:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            ++nAccept[i];
              ˜˜˜˜˜˜˜ ^
./rwm.hh:59:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            ++nAcceptThisBatch[i];
              ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:133:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i < Param[j].size(); i++) {
                                ˜˜˜˜˜ ^
bgx.cc:648:10: note: in instantiation of member function 'RWM<S_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update_jmps' requested here
      S->Update_jmps();
         ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:134:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if((double(nAcceptThisBatch[j][i])/batch_size) < optimal_AR) {
                   ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:135:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(-delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:136:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        } else if((double(nAcceptThisBatch[j][i])/batch_size) > optimal_AR) {
                          ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:137:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:139:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAcceptThisBatch[j][i]=0;
        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:133:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i < Param[j].size(); i++) {
                                ˜˜˜˜˜ ^
bgx.cc:649:10: note: in instantiation of member function 'RWM<H_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update_jmps' requested here
      H->Update_jmps();
         ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:134:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if((double(nAcceptThisBatch[j][i])/batch_size) < optimal_AR) {
                   ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:135:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(-delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:136:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        } else if((double(nAcceptThisBatch[j][i])/batch_size) > optimal_AR) {
                          ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:137:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:139:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAcceptThisBatch[j][i]=0;
        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:133:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i < Param[j].size(); i++) {
                                ˜˜˜˜˜ ^
bgx.cc:650:11: note: in instantiation of member function 'RWM<Mu_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update_jmps' requested here
      Mu->Update_jmps();
          ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:134:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if((double(nAcceptThisBatch[j][i])/batch_size) < optimal_AR) {
                   ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:135:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(-delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:136:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        } else if((double(nAcceptThisBatch[j][i])/batch_size) > optimal_AR) {
                          ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:137:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:139:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAcceptThisBatch[j][i]=0;
        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:133:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i < Param[j].size(); i++) {
                                ˜˜˜˜˜ ^
bgx.cc:651:14: note: in instantiation of member function 'RWM<Sigma_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update_jmps' requested here
      Sigma->Update_jmps();
             ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:134:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if((double(nAcceptThisBatch[j][i])/batch_size) < optimal_AR) {
                   ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:135:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(-delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:136:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        } else if((double(nAcceptThisBatch[j][i])/batch_size) > optimal_AR) {
                          ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:137:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:139:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAcceptThisBatch[j][i]=0;
        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:133:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i < Param[j].size(); i++) {
                                ˜˜˜˜˜ ^
bgx.cc:652:15: note: in instantiation of member function 'RWM<Lambda_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update_jmps' requested here
      Lambda->Update_jmps();
              ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:134:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if((double(nAcceptThisBatch[j][i])/batch_size) < optimal_AR) {
                   ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:135:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(-delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:136:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        } else if((double(nAcceptThisBatch[j][i])/batch_size) > optimal_AR) {
                          ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:137:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
          jmp_sizes[j][i] *= exp(delta);
          ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:139:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAcceptThisBatch[j][i]=0;
        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:67:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      if((double(nAcceptThisBatch[i])/batch_size) < optimal_AR) {
                 ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
bgx.cc:654:12: note: in instantiation of member function 'RWM<Eta_T, std::valarray<double>, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Update_jmps' requested here
      Eta->Update_jmps();
           ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:68:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        jmp_sizes[i] *= exp(-delta);
        ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:69:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      } else if((double(nAcceptThisBatch[i])/batch_size) > optimal_AR) {
                        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:70:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        jmp_sizes[i] *= exp(delta);
        ˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:72:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      nAcceptThisBatch[i]=0;
      ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:148:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i<Param[j].size(); ++i){
                              ˜˜˜˜˜ ^
bgx.cc:660:6: note: in instantiation of member function 'RWM<S_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Reset' requested here
  S->Reset();
     ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:149:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAccept[j][i]=0;
        ˜˜˜˜˜˜˜ ^
./rwm.hh:150:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  nAcceptThisBatch[j][i]=0;
  ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:148:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i<Param[j].size(); ++i){
                              ˜˜˜˜˜ ^
bgx.cc:661:6: note: in instantiation of member function 'RWM<H_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Reset' requested here
  H->Reset();
     ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:149:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAccept[j][i]=0;
        ˜˜˜˜˜˜˜ ^
./rwm.hh:150:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  nAcceptThisBatch[j][i]=0;
  ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:148:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i<Param[j].size(); ++i){
                              ˜˜˜˜˜ ^
bgx.cc:663:7: note: in instantiation of member function 'RWM<Mu_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Reset' requested here
  Mu->Reset();
      ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:149:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAccept[j][i]=0;
        ˜˜˜˜˜˜˜ ^
./rwm.hh:150:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  nAcceptThisBatch[j][i]=0;
  ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:148:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i<Param[j].size(); ++i){
                              ˜˜˜˜˜ ^
bgx.cc:664:10: note: in instantiation of member function 'RWM<Sigma_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Reset' requested here
  Sigma->Reset();
         ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:149:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAccept[j][i]=0;
        ˜˜˜˜˜˜˜ ^
./rwm.hh:150:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  nAcceptThisBatch[j][i]=0;
  ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:148:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int i=0; i<Param[j].size(); ++i){
                              ˜˜˜˜˜ ^
bgx.cc:666:11: note: in instantiation of member function 'RWM<Lambda_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Reset' requested here
  Lambda->Reset();
          ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:149:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        nAccept[j][i]=0;
        ˜˜˜˜˜˜˜ ^
./rwm.hh:150:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  nAcceptThisBatch[j][i]=0;
  ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:77:55: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  void Reset() { for(int i=0; i<length; ++i) {nAccept[i]=nAcceptThisBatch[i]=0; }}
                                              ˜˜˜˜˜˜˜ ^
bgx.cc:667:8: note: in instantiation of member function 'RWM<Eta_T, std::valarray<double>, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::Reset' requested here
  Eta->Reset();
       ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:77:75: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
  void Reset() { for(int i=0; i<length; ++i) {nAccept[i]=nAcceptThisBatch[i]=0; }}
                                                         ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜ ^
./rwm.hh:158:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int j=0; j<Param[i].size(); ++j)
                              ˜˜˜˜˜ ^
bgx.cc:819:8: note: in instantiation of member function 'RWM<S_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::pAccept' requested here
    S->pAccept(*iter,sacc);
       ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:159:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        pAcc[k++] = nAccept[i][j]/(double) nTry;
                    ˜˜˜˜˜˜˜ ^
./rwm.hh:158:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int j=0; j<Param[i].size(); ++j)
                              ˜˜˜˜˜ ^
bgx.cc:820:8: note: in instantiation of member function 'RWM<H_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::pAccept' requested here
    H->pAccept(*iter,hacc);
       ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:159:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        pAcc[k++] = nAccept[i][j]/(double) nTry;
                    ˜˜˜˜˜˜˜ ^
./rwm.hh:158:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int j=0; j<Param[i].size(); ++j)
                              ˜˜˜˜˜ ^
bgx.cc:821:9: note: in instantiation of member function 'RWM<Mu_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::pAccept' requested here
    Mu->pAccept(*iter,muacc);
        ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:159:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        pAcc[k++] = nAccept[i][j]/(double) nTry;
                    ˜˜˜˜˜˜˜ ^
./rwm.hh:158:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int j=0; j<Param[i].size(); ++j)
                              ˜˜˜˜˜ ^
bgx.cc:822:12: note: in instantiation of member function 'RWM<Sigma_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::pAccept' requested here
    Sigma->pAccept(*iter,sigmaacc);
           ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:159:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        pAcc[k++] = nAccept[i][j]/(double) nTry;
                    ˜˜˜˜˜˜˜ ^
./rwm.hh:158:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      for(unsigned int j=0; j<Param[i].size(); ++j)
                              ˜˜˜˜˜ ^
bgx.cc:823:13: note: in instantiation of member function 'RWM<Lambda_T, std::valarray<std::valarray<double> >, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::pAccept' requested here
    Lambda->pAccept(*iter,lambdaacc);
            ^
In file included from bgx.cc:28:
In file included from ./bgx_updates.hh:26:
./rwm.hh:159:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        pAcc[k++] = nAccept[i][j]/(double) nTry;
                    ˜˜˜˜˜˜˜ ^
./rwm.hh:82:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
      pAcc[i] = nAccept[i]/(double) nTry;
                ˜˜˜˜˜˜˜ ^
bgx.cc:824:10: note: in instantiation of member function 'RWM<Eta_T, std::valarray<double>, Rand<Boost_Wrap<boost::random::lagged_fibonacci_01<double, 48, 4423, 2098>, double>, double> >::pAccept' requested here
    Eta->pAccept(*iter,etaacc);
         ^
In file included from bgx.cc:28:
./bgx_updates.hh:47:8: warning: private field 'categories' is not used [-Wunused-private-field]
  int* categories;
       ^
./bgx_updates.hh:310:8: warning: private field 'categories' is not used [-Wunused-private-field]
  int *categories;
       ^
./bgx_updates.hh:311:7: warning: private field 'numberCategories' is not used [-Wunused-private-field]
  int numberCategories;
      ^
582 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I ../boostIncl -I/usr/local/include    -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -ffast-math -O3 -DUSING_R -c bgx_frontend.cc -o bgx_frontend.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I ../boostIncl -I/usr/local/include    -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -g -O2 -mcpu=pentiumpro  -ffast-math -O3 -c qnorm.c -o qnorm.o
clang: warning: argument unused during compilation: '-mcpu=pentiumpro'
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I ../boostIncl -I/usr/local/include    -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -ffast-math -O3 -DUSING_R -c rundir.cc -o rundir.o
rundir.cc:28:16: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
  reverse=digit+48;
  ˜˜˜˜˜˜˜ ˜˜˜˜˜^˜˜
rundir.cc:33:21: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
      reverse+=digit+48;
      ˜˜˜˜˜˜˜  ˜˜˜˜˜^˜˜
2 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I ../boostIncl -I/usr/local/include    -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -ffast-math -O3 -DUSING_R -c sokal.cc -o sokal.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o bgx.so bgx.o bgx_frontend.o qnorm.o rundir.o sokal.o -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
rm -r ../boostIncl
installing to /Users/biocbuild/bbs-2.12-bioc/meat/bgx.buildbin-libdir/bgx/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (bgx)


>>>>>>> 
>>>>>>> FIXING LINKS FOR bgx.buildbin-libdir/bgx/libs//bgx.so
>>>>>>> 

install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgcc_s.1.dylib" "bgx.buildbin-libdir/bgx/libs//bgx.so"
install_name_tool -change "/usr/local/lib/libgfortran.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgfortran.2.dylib" "bgx.buildbin-libdir/bgx/libs//bgx.so"
install_name_tool -change "/usr/local/lib/libreadline.5.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.5.2.dylib" "bgx.buildbin-libdir/bgx/libs//bgx.so"
install_name_tool -change "/usr/local/lib/libreadline.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.dylib" "bgx.buildbin-libdir/bgx/libs//bgx.so"