Skip to content

Commit 4d56bc7

Browse files
committed
Merge remote-tracking branch 'refs/remotes/fieldtrip/master'
2 parents 4e1f474 + 8fe2223 commit 4d56bc7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1230
-270
lines changed

bin/synchronize-private.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,6 +2319,17 @@ ARRAY+=(private/ptriprojn.m)
23192319
ARRAY+=(utilities/private/ptriprojn.m)
23202320
sync ${ARRAY[*]}
23212321

2322+
################################################################################
2323+
# quaternion.m
2324+
2325+
ARRAY=()
2326+
ARRAY+=(fileio/private/quaternion.m)
2327+
ARRAY+=(inverse/private/quaternion.m)
2328+
ARRAY+=(plotting/private/quaternion.m)
2329+
ARRAY+=(private/quaternion.m)
2330+
ARRAY+=(utilities/private/quaternion.m)
2331+
sync ${ARRAY[*]}
2332+
23222333
################################################################################
23232334
# randomseed.m
23242335

connectivity/private/ft_progress.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function ft_progress(varargin)
4848
%
4949
% $Id$
5050

51-
global ft_default;
51+
global ft_default
5252

5353
persistent p % the previous value of the progress
5454
persistent c % counter for the number of updates that is done
@@ -65,7 +65,7 @@ function ft_progress(varargin)
6565
% but the previous invocation was not processed (due
6666
% to the restriction in the number of updates to once
6767
% every 100ms)
68-
persistent closing;
68+
persistent closing
6969

7070
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7171
if nargin>1 && ischar(varargin{1}) && strcmp(varargin{1}, 'init')

contrib/nutmegtrip/private/getdimord.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
% add the trailing singleton dimensions to datsiz, if needed
177177
datsiz = [datsiz ones(1,max(0,length(dimtok)-length(datsiz)))];
178178
end
179-
if length(dimtok)==length(datsiz)
179+
if length(dimtok)==length(datsiz) || (length(dimtok)==(length(datsiz)-1) && datsiz(end)==1)
180180
success = false(size(dimtok));
181181
for i=1:length(dimtok)
182182
sel = strcmp(tok, dimtok{i});
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2016, Jan Simon
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in
12+
the documentation and/or other materials provided with the distribution
13+
14+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
18+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24+
POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)