mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +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
|
||||
{
|
||||
/// data
|
||||
// T i[(N>0)?N:1];
|
||||
std::array<T,N> i;
|
||||
T i[(N>0)?N:1];
|
||||
// std::array<T,N> i;
|
||||
|
||||
public:
|
||||
///
|
||||
@ -82,7 +82,8 @@ namespace ngcore
|
||||
template <typename ARCHIVE>
|
||||
void DoArchive(ARCHIVE& ar)
|
||||
{
|
||||
ar.Do(i.begin(), N);
|
||||
// ar.Do(i.begin(), N);
|
||||
ar.Do(i, N);
|
||||
}
|
||||
|
||||
template <int N2, typename T2>
|
||||
|
Loading…
Reference in New Issue
Block a user