MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015557 | VTK | (No Category) | public | 2015-06-27 11:37 | 2015-08-13 10:11 |
| Reporter | Tsutomu Ikegami | ||||
| Assigned To | T.J. Corona | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 6.0.0 | ||||
| Target Version | Fixed in Version | ||||
| Project | TBD | ||||
| Type | incorrect functionality | ||||
| Summary | 0015557: vtkFunctionParser gives wrong results for numeric literals | ||||
| Description | The vtkFunctionParser wrongly parses numeric literals with exponent notation. For example, "3.0e+01" is parsed as 31.0 = 3.0e01 + 01. I have confirmed the phenomena on VTK version 6.2.0. ----- sample code in python ----- import vtk f = vtk.vtkFunctionParser() f.SetFunction("3.0e+01") print f.GetScalarResult() => 31.0 --------------------------------- I noticed that only the '(\d)e-(\d)' case is treated specially in vtkFunctionParser.cxx:l.1542, but I have no graceful idea to fix it. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-06-27 11:37 | Tsutomu Ikegami | New Issue | |||
| 2015-08-07 12:58 | T.J. Corona | Assigned To | => T.J. Corona | ||
| 2015-08-12 10:57 | T.J. Corona | Note Added: 0034974 | |||
| 2015-08-12 10:57 | T.J. Corona | Status | backlog => closed | ||
| 2015-08-12 10:57 | T.J. Corona | Resolution | open => fixed | ||
| 2015-08-12 21:28 | Tsutomu Ikegami | Note Added: 0034979 | |||
| 2015-08-12 21:28 | Tsutomu Ikegami | Status | closed => backlog | ||
| 2015-08-12 21:28 | Tsutomu Ikegami | Resolution | fixed => reopened | ||
| 2015-08-13 10:11 | T.J. Corona | Note Added: 0034986 | |||
| 2015-08-13 10:11 | T.J. Corona | Status | backlog => closed | ||
| 2015-08-13 10:11 | T.J. Corona | Resolution | reopened => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||