mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
alignment shouldn't be an issue anymore
This commit is contained in:
parent
955540b90e
commit
927a76a490
@ -3037,8 +3037,8 @@ namespace netgen
|
|||||||
const Element & el = mesh[info.elnr];
|
const Element & el = mesh[info.elnr];
|
||||||
|
|
||||||
// dshapes.SetSize(info.ndof);
|
// dshapes.SetSize(info.ndof);
|
||||||
if ( (long int)(&dshapes(0,0)) % alignof(T) != 0)
|
// if ( (long int)(&dshapes(0,0)) % alignof(T) != 0)
|
||||||
throw NgException ("alignment problem");
|
// throw NgException ("alignment problem");
|
||||||
if (dshapes.Height() != info.ndof)
|
if (dshapes.Height() != info.ndof)
|
||||||
throw NgException ("wrong height");
|
throw NgException ("wrong height");
|
||||||
if (rational && info.order >= 2)
|
if (rational && info.order >= 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user