mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
do not trigger pointindex = 0 cout in debug mode
This commit is contained in:
parent
a8737418b9
commit
9fea21a2a1
@ -46,8 +46,7 @@ namespace ngcore
|
||||
/// Access entry
|
||||
NETGEN_INLINE const FlatArray<T> operator[] (IndexType i) const
|
||||
{
|
||||
i = i-BASE;
|
||||
return FlatArray<T> (index[i+1]-index[i], data+index[i]);
|
||||
return FlatArray<T> (index[i-BASE+1]-index[i-BASE], data+index[i-BASE]);
|
||||
}
|
||||
|
||||
NETGEN_INLINE T * Data() const { return data; }
|
||||
|
Loading…
Reference in New Issue
Block a user