Back to the main page.
Bug 2458 - typo in statistics_wrapper
| Status | CLOSED FIXED |
| Reported | 2014-01-28 13:57:00 +0100 |
| Modified | 2014-03-06 15:36:44 +0100 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Windows |
| Importance: | P5 normal |
| Assigned to: | Jan-Mathijs Schoffelen |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
- 2014-01-28 13:57:56 +0100
There's a rogue bracket in statistics_wrapper. Line 228 if isfield(varargin{1}, 'transform') || (if isfield(varargin{1}, 'dim') && prod(varargin{1}.dim)==size(varargin{1}.pos,1)) should read if isfield(varargin{1}, 'transform') || if isfield(varargin{1}, 'dim') && prod(varargin{1}.dim)==size(varargin{1}.pos,1)) I can see it but I can't fix it :( Best, Tom
Jim Herring - 2014-01-28 14:04:48 +0100
The 'if' after the || shouldn't be there either, should it?
- 2014-01-28 14:08:07 +0100
Oh yeah, guess not.
Jan-Mathijs Schoffelen - 2014-01-28 15:05:08 +0100
my bad. will fix it. JM
Jan-Mathijs Schoffelen - 2014-01-28 15:09:10 +0100
sorry for the inconvenience, just fixed it, revision 9135. Did not test though. Should be available at /home/common/ in 20 minutes or so. Please let me know if it then works again.
- 2014-01-28 15:15:47 +0100
It's already working again for me. Thanks!