Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 22 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,22 @@ jobs:
- toolset: gcc-11
cxxstd: "11,14,17,20,23"
address_model: 32,64
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- g++-11-multilib
- toolset: gcc-12
cxxstd: "11,14,17,20,23"
address_model: 32,64
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- g++-12-multilib
- toolset: gcc-12
cxxstd: "11-gnu,14-gnu,17-gnu,20-gnu,23-gnu"
address_model: 32,64
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- g++-12-multilib

Expand Down Expand Up @@ -184,37 +187,43 @@ jobs:
- toolset: clang
compiler: clang++-11
cxxstd: "11,14,17,20"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-11
- toolset: clang
compiler: clang++-12
cxxstd: "11,14,17,20"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-12
- toolset: clang
compiler: clang++-13
cxxstd: "11,14,17,20"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-13
- toolset: clang
compiler: clang++-14
cxxstd: "11,14,17,20"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-14
- toolset: clang
compiler: clang++-14
cxxstd: "11-gnu,14-gnu,17-gnu,20-gnu"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-14
- toolset: clang
compiler: clang++-15
cxxstd: "11,14,17,20"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-15
sources:
Expand All @@ -224,7 +233,8 @@ jobs:
- toolset: clang
compiler: clang++-15
cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04
os: ubuntu-latest
container: ubuntu:22.04
install:
- clang-15
- libc++-15-dev
Expand Down Expand Up @@ -455,10 +465,6 @@ jobs:
fail-fast: false
matrix:
include:
- toolset: msvc-14.2
cxxstd: "14,17,latest"
addrmd: 64
os: windows-2019
- toolset: msvc-14.3
cxxstd: "17,20,latest"
addrmd: 64
Expand All @@ -470,7 +476,7 @@ jobs:
- toolset: gcc
cxxstd: "11,14,17,2a"
addrmd: 64
os: windows-2019
os: windows-latest

runs-on: ${{matrix.os}}

Expand Down Expand Up @@ -510,10 +516,10 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
- os: macos-13
- os: macos-14
- os: macos-15

runs-on: ${{matrix.os}}

Expand Down
4 changes: 2 additions & 2 deletions include/boost/random/beta_distribution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ class beta_distribution {
template<class URNG>
RealType operator()(URNG& urng) const
{
static const auto alpha_dist = gamma_distribution<RealType>(_alpha, RealType(1.0));
static const auto beta_dist = gamma_distribution<RealType>(_beta, RealType(1.0));
const auto alpha_dist = gamma_distribution<RealType>(_alpha, RealType(1.0));
const auto beta_dist = gamma_distribution<RealType>(_beta, RealType(1.0));

RealType a = 0;
RealType b = 0;
Expand Down