#526 closed defect (fixed)
p_psVectorClippedStats init bug
| Reported by: | eugene | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | math | Version: | 0.7.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
p_psVectorClippedStats uses a local, static, temporary variable to store some
statistics. The structure needs to be initialized if it is not allocated in a
given call. Otherwise, the results from the previous call will be left behind,
and values such as the mean will not be recalculated.
alternatively, don't bother with the local static and accept the Alloc each call
to psVectorStats.
Change History (4)
comment:1 by , 21 years ago
| Owner: | changed from to |
|---|
comment:2 by , 21 years ago
| Owner: | changed from to |
|---|
comment:3 by , 21 years ago
Note:
See TracTickets
for help on using tickets.

I've added this init to p_psVectorClippedStats under tag eam_rel8_b0