fix table creator

This commit is contained in:
Joachim Schöberl 2019-08-30 08:28:08 +02:00
parent 6c06f79c8e
commit 71e8c6854c

View File

@ -120,7 +120,7 @@ public:
NETGEN_INLINE Table (size_t asize, size_t entrysize)
: FlatTable<T>( asize, new size_t[asize+1], new T[asize*entrysize] )
{
for (size_t i : IntRange(size))
for (size_t i : IntRange(size+1))
index[i] = i*entrysize;
}