diff --git a/fourindex.h b/fourindex.h index a2c6fb5..3a3ad61 100644 --- a/fourindex.h +++ b/fourindex.h @@ -70,11 +70,15 @@ struct matel4 template -struct matel4stored +struct matel4stored { T elem; union packed_index index; - }; + } +#ifdef __GNUC__ +__attribute__((packed)) +#endif +; //later add symmetry of complex integrals