mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 12:50: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
|
/// Access entry
|
||||||
NETGEN_INLINE const FlatArray<T> operator[] (IndexType i) const
|
NETGEN_INLINE const FlatArray<T> operator[] (IndexType i) const
|
||||||
{
|
{
|
||||||
i = i-BASE;
|
return FlatArray<T> (index[i-BASE+1]-index[i-BASE], data+index[i-BASE]);
|
||||||
return FlatArray<T> (index[i+1]-index[i], data+index[i]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NETGEN_INLINE T * Data() const { return data; }
|
NETGEN_INLINE T * Data() const { return data; }
|
||||||
|
Loading…
Reference in New Issue
Block a user