View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007186 | VTK | (No Category) | public | 2008-06-11 09:48 | 2016-08-12 09:54 | ||||
Reporter | Denis Shamonin | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007186: vtkIdList allocation method (Allocate) doesn't initialize NumberOfIds | ||||||||
Description | Hi, I am not sure if this a bug, but NumberOfIds has not been set by calling Allocate() method. //------------------------------------------------------------------------------ int vtkIdList::Allocate(const int sz, const int vtkNotUsed(strategy)) { ... this->NumberOfIds = 0; // Why 0, but not sz??? } I've to use it this way: vtkIdList *idList = vtkIdList::New(); idList->Allocate(numIds); idList->SetNumberOfIds(numIds); // Why do I need to call it. Is it correct? Thanks, -Denis. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0036987) Kitware Robot (administrator) 2016-08-12 09:54 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-06-11 09:48 | Denis Shamonin | New Issue | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036987 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |