From 927a76a490f24d6cf15e6feecdfb0e9b4886f6e9 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Mon, 21 Aug 2023 14:27:21 +0200 Subject: [PATCH] alignment shouldn't be an issue anymore --- libsrc/meshing/curvedelems.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/curvedelems.cpp b/libsrc/meshing/curvedelems.cpp index 10c857fb..af5ed1c0 100644 --- a/libsrc/meshing/curvedelems.cpp +++ b/libsrc/meshing/curvedelems.cpp @@ -3037,8 +3037,8 @@ namespace netgen const Element & el = mesh[info.elnr]; // dshapes.SetSize(info.ndof); - if ( (long int)(&dshapes(0,0)) % alignof(T) != 0) - throw NgException ("alignment problem"); + // if ( (long int)(&dshapes(0,0)) % alignof(T) != 0) + // throw NgException ("alignment problem"); if (dshapes.Height() != info.ndof) throw NgException ("wrong height"); if (rational && info.order >= 2)