mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
fix table creator
This commit is contained in:
parent
6c06f79c8e
commit
71e8c6854c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user