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:
parent
b7f12faa89
commit
82237a0c1c
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include <complex>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
||||
#if defined(USE_MPI)
|
||||
#include <mpi.h>
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
//! empty constructor
|
||||
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
|
||||
vec3_t( const vec3_t<T> &v)
|
||||
|
|
Loading…
Reference in a new issue