Back to Multiple platform build/check report for BioC 3.18:   simplified   long
A[B]CDEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2024-04-17 11:35:47 -0400 (Wed, 17 Apr 2024).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 22.04.3 LTS)x86_644.3.3 (2024-02-29) -- "Angel Food Cake" 4676
palomino4Windows Server 2022 Datacenterx644.3.3 (2024-02-29 ucrt) -- "Angel Food Cake" 4414
merida1macOS 12.7.1 Montereyx86_644.3.3 (2024-02-29) -- "Angel Food Cake" 4437
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

Package 157/2266HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
BGmix 1.62.0  (landing page)
Alex Lewin
Snapshot Date: 2024-04-15 14:05:01 -0400 (Mon, 15 Apr 2024)
git_url: https://git.bioconductor.org/packages/BGmix
git_branch: RELEASE_3_18
git_last_commit: f73b5f7
git_last_commit_date: 2023-10-24 09:39:13 -0400 (Tue, 24 Oct 2023)
nebbiolo2Linux (Ubuntu 22.04.3 LTS) / x86_64  ERROR    ERROR  skipped
palomino4Windows Server 2022 Datacenter / x64... NOT SUPPORTED ...
merida1macOS 12.7.1 Monterey / x86_64  ERROR    ERROR  skippedskipped
kjohnson1macOS 13.6.1 Ventura / arm64see weekly results here

BUILD results for BGmix on nebbiolo2


To the developers/maintainers of the BGmix package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/BGmix.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: BGmix
Version: 1.62.0
Command: /home/biocbuild/bbs-3.18-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data BGmix
StartedAt: 2024-04-15 16:08:38 -0400 (Mon, 15 Apr 2024)
EndedAt: 2024-04-15 16:08:41 -0400 (Mon, 15 Apr 2024)
EllapsedTime: 3.0 seconds
RetCode: 1
Status:   ERROR  
PackageFile: None
PackageFileSize: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.18-bioc/R/bin/R CMD build --keep-empty-dirs --no-resave-data BGmix
###
##############################################################################
##############################################################################


* checking for file ‘BGmix/DESCRIPTION’ ... OK
* preparing ‘BGmix’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
      -----------------------------------
* installing *source* package ‘BGmix’ ...
** using staged installation
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for cos in -lm... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.18-bioc/R/include" -DNDEBUG -I ../boostIncl  -I/usr/local/include    -fpic  -g -O2  -Wall -g -O2 -Wall -DUSING_R -c BGmix_main.cpp -o BGmix_main.o
In file included from ../boostIncl/boost/config.hpp:57,
                 from ../boostIncl/boost/random/linear_congruential.hpp:22,
                 from ../boostIncl/boost/random.hpp:36,
                 from rand.hh:32,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
../boostIncl/boost/random/detail/const_mod.hpp: In static member function ‘static IntType boost::random::const_mod<IntType, m>::invert_euclidian(IntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_148’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/detail/const_mod.hpp:148:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
  148 |     BOOST_STATIC_ASSERT(m > 0);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_152’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/detail/const_mod.hpp:152:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
  152 |     BOOST_STATIC_ASSERT(boost::integer_traits<IntType>::is_signed);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/linear_congruential.hpp: In constructor ‘boost::random::linear_congruential<IntType, a, c, m, val>::linear_congruential(IntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_63’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/linear_congruential.hpp:63:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   63 |     BOOST_STATIC_ASSERT(std::numeric_limits<IntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/inversive_congruential.hpp: In constructor ‘boost::random::inversive_congruential<IntType, a, b, p, val>::inversive_congruential(IntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_50’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/inversive_congruential.hpp:50:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   50 |     BOOST_STATIC_ASSERT(b >= 0);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_51’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/inversive_congruential.hpp:51:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   51 |     BOOST_STATIC_ASSERT(p > 1);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_52’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/inversive_congruential.hpp:52:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   52 |     BOOST_STATIC_ASSERT(a >= 1);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/shuffle_output.hpp: In member function ‘void boost::random::shuffle_output<UniformRandomNumberGenerator, k, val>::init()’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_124’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/shuffle_output.hpp:124:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
  124 |     BOOST_STATIC_ASSERT(std::numeric_limits<result_type>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/mersenne_twister.hpp: In member function ‘void boost::random::mersenne_twister<UIntType, w, n, m, r, a, u, s, b, t, c, l, val>::seed(Generator&)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_99’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/mersenne_twister.hpp:99:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   99 |     BOOST_STATIC_ASSERT(!std::numeric_limits<result_type>::is_signed);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/subtract_with_carry.hpp: In constructor ‘boost::random::subtract_with_carry<IntType, m, s, r, val>::subtract_with_carry()’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_83’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/subtract_with_carry.hpp:83:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   83 |     BOOST_STATIC_ASSERT(std::numeric_limits<result_type>::is_signed);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_84’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/subtract_with_carry.hpp:84:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   84 |     BOOST_STATIC_ASSERT(std::numeric_limits<result_type>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/linear_feedback_shift.hpp: In constructor ‘boost::random::linear_feedback_shift<UIntType, w, k, q, s, val>::linear_feedback_shift(UIntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_55’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/linear_feedback_shift.hpp:55:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   55 |     BOOST_STATIC_ASSERT(std::numeric_limits<UIntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_56’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/linear_feedback_shift.hpp:56:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   56 |     BOOST_STATIC_ASSERT(!std::numeric_limits<UIntType>::is_signed);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/linear_feedback_shift.hpp: In constructor ‘boost::random::linear_feedback_shift<UIntType, w, k, q, s, val>::linear_feedback_shift(It&, It)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_69’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/linear_feedback_shift.hpp:69:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   69 |     BOOST_STATIC_ASSERT(std::numeric_limits<UIntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_70’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/linear_feedback_shift.hpp:70:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   70 |     BOOST_STATIC_ASSERT(!std::numeric_limits<UIntType>::is_signed);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/xor_combine.hpp: In member function ‘boost::random::xor_combine<URNG1, s1, URNG2, s2, val>::result_type boost::random::xor_combine<URNG1, s1, URNG2, s2, val>::operator()()’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_67’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/xor_combine.hpp:67:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   67 |     BOOST_STATIC_ASSERT(std::numeric_limits<typename base1_type::result_type>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_68’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/xor_combine.hpp:68:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   68 |     BOOST_STATIC_ASSERT(std::numeric_limits<typename base2_type::result_type>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_69’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/xor_combine.hpp:69:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   69 |     BOOST_STATIC_ASSERT(std::numeric_limits<typename base1_type::result_type>::digits >= std::numeric_limits<typename base2_type::result_type>::digits);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/uniform_smallint.hpp: In constructor ‘boost::detail::uniform_smallint_float<UniformRandomNumberGenerator, IntType>::uniform_smallint_float(boost::detail::uniform_smallint_float<UniformRandomNumberGenerator, IntType>::base_type&, IntType, IntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_121’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/uniform_smallint.hpp:121:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
  121 |     BOOST_STATIC_ASSERT(std::numeric_limits<IntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_122’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/uniform_smallint.hpp:122:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
  122 |     BOOST_STATIC_ASSERT(!std::numeric_limits<typename base_type::result_type>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/uniform_smallint.hpp: In constructor ‘boost::uniform_smallint<IntType>::uniform_smallint(IntType, IntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_170’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/uniform_smallint.hpp:170:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
  170 |     BOOST_STATIC_ASSERT(std::numeric_limits<IntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/uniform_int.hpp: In constructor ‘boost::uniform_int<IntType>::uniform_int(IntType, IntType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_47’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/uniform_int.hpp:47:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   47 |     BOOST_STATIC_ASSERT(std::numeric_limits<IntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/random_number_generator.hpp: In constructor ‘boost::random_number_generator<UniformRandomNumberGenerator, IntType>::random_number_generator(boost::random_number_generator<UniformRandomNumberGenerator, IntType>::base_type&)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_38’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/random_number_generator.hpp:38:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   38 |     BOOST_STATIC_ASSERT(std::numeric_limits<result_type>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/uniform_real.hpp: In constructor ‘boost::uniform_real<RealType>::uniform_real(RealType, RealType)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_41’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/uniform_real.hpp:41:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   41 |     BOOST_STATIC_ASSERT(!std::numeric_limits<RealType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/random/poisson_distribution.hpp: In constructor ‘boost::poisson_distribution<IntType, RealType>::poisson_distribution(const RealType&)’:
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_38’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/poisson_distribution.hpp:38:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   38 |     BOOST_STATIC_ASSERT(std::numeric_limits<IntType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:21: warning: typedef ‘boost_static_assert_typedef_39’ locally defined but not used [-Wunused-local-typedefs]
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boostIncl/boost/config/suffix.hpp:523:32: note: in definition of macro ‘BOOST_DO_JOIN2’
  523 | #define BOOST_DO_JOIN2( X, Y ) X##Y
      |                                ^
../boostIncl/boost/config/suffix.hpp:521:28: note: in expansion of macro ‘BOOST_DO_JOIN’
  521 | #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
      |                            ^~~~~~~~~~~~~
../boostIncl/boost/static_assert.hpp:105:10: note: in expansion of macro ‘BOOST_JOIN’
  105 |          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
      |          ^~~~~~~~~~
../boostIncl/boost/random/poisson_distribution.hpp:39:5: note: in expansion of macro ‘BOOST_STATIC_ASSERT’
   39 |     BOOST_STATIC_ASSERT(!std::numeric_limits<RealType>::is_integer);
      |     ^~~~~~~~~~~~~~~~~~~
In file included from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
rand.hh: In member function ‘RealType Rand<GenType, RealType>::Normal()’:
rand.hh:368:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  368 |       if(u0<.5) return y; return -y;
      |       ^~
rand.hh:368:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  368 |       if(u0<.5) return y; return -y;
      |                           ^~~~~~
rand.hh:375:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  375 |       if(u0<.5) return y; return -y;
      |       ^~
rand.hh:375:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  375 |       if(u0<.5) return y; return -y;
      |                           ^~~~~~
rand.hh:382:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  382 |       if(u0<.5) return y; return -y;
      |       ^~
rand.hh:382:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  382 |       if(u0<.5) return y; return -y;
      |                           ^~~~~~
rand.hh:389:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  389 |     if(u0<.5) return y; return -y;
      |     ^~
rand.hh:389:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  389 |     if(u0<.5) return y; return -y;
      |                         ^~~~~~
BGmix_main.cpp: In function ‘void BGmix(int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, int&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double&, double*, double*, double*, int*, int&, double*, int*, char**, char**, char**, char**, char**)’:
BGmix_main.cpp:145:1: error: reference to ‘beta’ is ambiguous
  145 | beta = new double*[ngenes];
      | ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:146:29: error: reference to ‘beta’ is ambiguous
  146 | for(int i=0; i<ngenes; ++i) beta[i] = new double[neffects];
      |                             ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:165:17: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
  165 |      if(neffects==2 & nconds==2){
      |         ~~~~~~~~^~~
BGmix_main.cpp:166:8: error: reference to ‘beta’ is ambiguous
  166 |        beta[i][0] = xx[1][1]*ybar[i][0] - xx[1][0]*ybar[i][1];
      |        ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:167:8: error: reference to ‘beta’ is ambiguous
  167 |        beta[i][1] = xx[0][0]*ybar[i][1] - xx[0][1]*ybar[i][0];
      |        ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:169:11: error: reference to ‘beta’ is ambiguous
  169 |      else beta[i][j] = beta_init;
      |           ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:178:12: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
  178 |    if(jstar!=-1 & ncomps==3){
      |       ~~~~~^~~~
BGmix_main.cpp:179:9: error: reference to ‘beta’ is ambiguous
  179 |      if(beta[i][jstar]<0.01 & beta[i][jstar]>-0.01) zg[i]=1;
      |         ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:179:31: error: reference to ‘beta’ is ambiguous
  179 |      if(beta[i][jstar]<0.01 & beta[i][jstar]>-0.01) zg[i]=1;
      |                               ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:180:14: error: reference to ‘beta’ is ambiguous
  180 |      else if(beta[i][jstar]>0) zg[i]=2;
      |              ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:507:22: error: reference to ‘beta’ is ambiguous
  507 |         update_beta0(beta, tau, gamma1, xx, indtau, ybar, ydata, like_choice,
      |                      ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:512:45: error: reference to ‘beta’ is ambiguous
  512 |           if(move_choice_cut==1) update_tau(beta, tau, gamma1, xx, indtau, ybar, ss, ydata,
      |                                             ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:522:30: error: reference to ‘beta’ is ambiguous
  522 |           update_tau_logNorm(beta, tau, gamma1, xx, indtau, ybar, ss, ydata,
      |                              ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:529:41: error: reference to ‘beta’ is ambiguous
  529 |         if(like_choice==2) update_gamma(beta, tau, gamma1, xx, indtau, ydata, df,
      |                                         ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:536:53: error: reference to ‘beta’ is ambiguous
  536 |                                   eta_up, eta_down, beta, tau, gamma1, xx, indtau, ybar, ydata, like_choice,
      |                                                     ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:541:39: error: reference to ‘beta’ is ambiguous
  541 |             update_z_beta1_joint2(zg, beta, nalloc, n_acc, n_try,
      |                                       ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:546:33: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
  546 |           else if(move_choice_bz==3 | move_choice_bz==4){
      |                   ~~~~~~~~~~~~~~^~~
BGmix_main.cpp:547:39: error: reference to ‘beta’ is ambiguous
  547 |             update_z_beta1_joint3(zg, beta, nalloc, n_acc, n_try, wtc, eta_up, eta_down,
      |                                       ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:551:51: error: reference to ‘beta’ is ambiguous
  551 |                                               zg, beta, nalloc, ngenes, nconds, jstar, rand);
      |                                                   ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:553:72: error: reference to ‘beta’ is ambiguous
  553 |                                                  lam1, lam2, nlam, zg, beta, nalloc, ngenes, jstar, rand);
      |                                                                        ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:556:39: error: reference to ‘beta’ is ambiguous
  556 |             update_z_beta1_joint4(zg, beta, nalloc, n_acc, n_try, wtc, tau_eps, eta_up, eta_down,
      |                                       ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:560:51: error: reference to ‘beta’ is ambiguous
  560 |                                               zg, beta, nalloc, ngenes, nconds, jstar, rand);
      |                                                   ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:562:72: error: reference to ‘beta’ is ambiguous
  562 |                                                  lam1, lam2, nlam, zg, beta, nalloc, ngenes, jstar, rand);
      |                                                                        ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:583:22: error: reference to ‘beta’ is ambiguous
  583 |         update_beta0(beta, tau, gamma1, xx, indtau, ybar, ydata, like_choice,
      |                      ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:588:45: error: reference to ‘beta’ is ambiguous
  588 |           if(move_choice_cut==1) update_tau(beta, tau, gamma1, xx, indtau, ybar, ss, ydata,
      |                                             ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:597:30: error: reference to ‘beta’ is ambiguous
  597 |           update_tau_logNorm(beta, tau, gamma1, xx, indtau, ybar, ss, ydata,
      |                              ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:605:41: error: reference to ‘beta’ is ambiguous
  605 |         if(like_choice==2) update_gamma(beta, tau, gamma1, xx, indtau, ydata, df,
      |                                         ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:611:53: error: reference to ‘beta’ is ambiguous
  611 |                                   eta_up, eta_down, beta, tau, gamma1, xx, indtau, ybar, ydata, like_choice,
      |                                                     ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:616:39: error: reference to ‘beta’ is ambiguous
  616 |             update_z_beta1_joint2(zg, beta, nalloc, n_acc, n_try,
      |                                       ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:621:33: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
  621 |           else if(move_choice_bz==3 | move_choice_bz==4){
      |                   ~~~~~~~~~~~~~~^~~
BGmix_main.cpp:622:39: error: reference to ‘beta’ is ambiguous
  622 |             update_z_beta1_joint3(zg, beta, nalloc, n_acc, n_try, wtc, eta_up, eta_down,
      |                                       ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:626:51: error: reference to ‘beta’ is ambiguous
  626 |                                               zg, beta, nalloc, ngenes, nconds, jstar, rand);
      |                                                   ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:628:72: error: reference to ‘beta’ is ambiguous
  628 |                                                  lam1, lam2, nlam, zg, beta, nalloc, ngenes, jstar, rand);
      |                                                                        ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:631:39: error: reference to ‘beta’ is ambiguous
  631 |             update_z_beta1_joint4(zg, beta, nalloc, n_acc, n_try, wtc, tau_eps, eta_up, eta_down,
      |                                       ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:635:51: error: reference to ‘beta’ is ambiguous
  635 |                                               zg, beta, nalloc, ngenes, nconds, jstar, rand);
      |                                                   ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:637:72: error: reference to ‘beta’ is ambiguous
  637 |                                                  lam1, lam2, nlam, zg, beta, nalloc, ngenes, jstar, rand);
      |                                                                        ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:647:50: error: reference to ‘beta’ is ambiguous
  647 |               ybar, ss, tau, gamma1, aa, bb, zg, beta, xx, indtau, wtc, tau_eps, eta_up, eta_down,
      |                                                  ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:653:54: error: reference to ‘beta’ is ambiguous
  653 |               ybar, ss, tau, gamma1, df, aa, bb, zg, beta, xx, indtau, wtc, tau_eps, eta_up, eta_down,
      |                                                      ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:656:47: error: reference to ‘beta’ is ambiguous
  656 |           deviance_calc(deviance1, deviance2, beta, tau, gamma1, xx, indtau, ybar, ss, ydata,
      |                                               ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:670:44: error: reference to ‘beta’ is ambiguous
  670 |                         mean_beta[i][j] += beta[i][j];
      |                                            ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:705:36: error: reference to ‘beta’ is ambiguous
  705 |                       beta_file << beta[i][j] << " ";
      |                                    ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp: In function ‘void freeBGmixMemory(int&, int&)’:
BGmix_main.cpp:967:41: error: reference to ‘beta’ is ambiguous
  967 |   for(int i=0; i<ngenes; ++i) delete [] beta[i];
      |                                         ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp:968:13: error: reference to ‘beta’ is ambiguous
  968 |   delete [] beta;
      |             ^~~~
In file included from /usr/include/c++/11/cmath:1935,
                 from /usr/include/c++/11/valarray:37,
                 from rand.hh:24,
                 from updates_BGmix.h:1,
                 from BGmix_main.cpp:25:
/usr/include/c++/11/bits/specfun.h:343:5: note: candidates are: ‘template<class _Tpa, class _Tpb> typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa, _Tpb)’
  343 |     beta(_Tpa __a, _Tpb __b)
      |     ^~~~
BGmix_main.cpp:76:40: note:                 ‘double** beta’
   76 | static double **ybar, **ss, **ydata, **beta, **tau, **gamma1,
      |                                        ^~~~
BGmix_main.cpp: At global scope:
BGmix_main.cpp:76:40: warning: ‘beta’ defined but not used [-Wunused-variable]
make: *** [Makevars:9: BGmix_main.o] Error 1
ERROR: compilation failed for package ‘BGmix’
* removing ‘/tmp/Rtmp9doB32/Rinst29d7cd60539c6a/BGmix’
      -----------------------------------
ERROR: package installation failed