mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 21:00:34 +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)
|
NETGEN_INLINE Table (size_t asize, size_t entrysize)
|
||||||
: FlatTable<T>( asize, new size_t[asize+1], new T[asize*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;
|
index[i] = i*entrysize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user