mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
go back to C-array (since tests fail)
This commit is contained in:
parent
7968ae4588
commit
bac10cf1fb
@ -46,8 +46,8 @@ namespace ngcore
|
|||||||
class IVec
|
class IVec
|
||||||
{
|
{
|
||||||
/// data
|
/// data
|
||||||
// T i[(N>0)?N:1];
|
T i[(N>0)?N:1];
|
||||||
std::array<T,N> i;
|
// std::array<T,N> i;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
///
|
///
|
||||||
@ -82,7 +82,8 @@ namespace ngcore
|
|||||||
template <typename ARCHIVE>
|
template <typename ARCHIVE>
|
||||||
void DoArchive(ARCHIVE& ar)
|
void DoArchive(ARCHIVE& ar)
|
||||||
{
|
{
|
||||||
ar.Do(i.begin(), N);
|
// ar.Do(i.begin(), N);
|
||||||
|
ar.Do(i, N);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <int N2, typename T2>
|
template <int N2, typename T2>
|
||||||
|
Loading…
Reference in New Issue
Block a user