Skip to content

Commit

Permalink
Merge pull request #1383 from KrisThielemans/C++20_fix
Browse files Browse the repository at this point in the history
Tiny fix for C++-20
  • Loading branch information
KrisThielemans authored Feb 15, 2024
2 parents d78b3fd + 0459354 commit 37f799f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
compiler: gcc
compiler_version: 12
cuda_version: "0"
BUILD_FLAGS: "-DSTIR_OPENMP=ON -DCMAKE_CXX_STANDARD=14"
BUILD_FLAGS: "-DSTIR_OPENMP=ON -DCMAKE_CXX_STANDARD=20"
BUILD_TYPE: "RelWithDebInfo"
parallelproj: "ON"
ROOT: "OFF"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByB
//! Name which will be used when parsing a GeneralisedObjectiveFunction object
static const char* const registered_name;

PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin<TargetT>();
PoissonLogLikelihoodWithLinearModelForMeanAndListModeDataWithProjMatrixByBin();

//! Computes the gradient of the objective function at the \a current_estimate overwriting \a gradient.
/*!
Expand Down

0 comments on commit 37f799f

Please sign in to comment.