1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

removed compilation problems with GCC 12

This commit is contained in:
Oliver Hahn 2022-11-10 11:16:28 +01:00
parent b7f12faa89
commit 82237a0c1c
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@
#include <complex> #include <complex>
#include <map> #include <map>
#include <memory>
#if defined(USE_MPI) #if defined(USE_MPI)
#include <mpi.h> #include <mpi.h>

View file

@ -30,7 +30,7 @@ public:
//! empty constructor //! empty constructor
vec3_t() vec3_t()
: x(data_[0]),y(data_[1]),z(data_[2]){} : data_{{T(0),T(0),T(0)}},x(data_[0]),y(data_[1]),z(data_[2]){}
//! copy constructor //! copy constructor
vec3_t( const vec3_t<T> &v) vec3_t( const vec3_t<T> &v)