MantisBT - VTK | |||||
| View Issue Details | |||||
| 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 | ||||
| Project | |||||
| Type | |||||
| 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. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||