Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276157 Details for
Bug 370475
sci-libs/itpp-4.2 - FastICA accesses unallocated memory/ bails out if whitening reduces dimension
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test case that triggers the bug.
main.cc (text/plain), 914 bytes, created by
Gert Wollny
on 2011-06-07 16:07:42 UTC
(
hide
)
Description:
Test case that triggers the bug.
Filename:
MIME Type:
Creator:
Gert Wollny
Created:
2011-06-07 16:07:42 UTC
Size:
914 bytes
patch
obsolete
>#include <itpp/signal/fastica.h> >const int rows = 5; const int cols = 10; const int nica = 3; double test_signal[rows][cols] = { {-2, >2, 2, 1.6, -3.2, 1.6, -3.57628e-08, -3.57628e-08, 8.34465e-08, -2}, {-1, 1, 1, -0.4, 0.8, -0.4, 2.14577e-07, -2.38419e-08, >-2.38419e-08, -1}, {2.38419e-08, 2.38419e-08, 2.38419e-08, -2.4, 4.8, -2.4, 2.38419e-08, 2.38419e-08, 2.38419e-08, 2.38419e-08}, {1, >-1, -1, -0.4, 0.8, -0.4, 2.38419e-08, 2.38419e-08, 2.38419e-08, 1}, {2, -2, -2, 1.6, -3.2, 1.6, 2.38419e-08, 2.38419e-08, 2.38419e-08, >2} }; int main(int argc, const char **args) { itpp::mat Signal(rows,cols); for (int r = 0; r < rows; ++r) { for (int c = 0; c < cols; >++c) { Signal(r,c) = test_signal[c][r]; } } itpp::Fast_ICA fastICA(Signal); fastICA.set_nrof_independent_components(nica); >fastICA.set_non_linearity( FICA_NONLIN_TANH ); fastICA.set_approach( FICA_APPROACH_DEFL ); fastICA.separate(); return 0; } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 370475
:
276155
| 276157