Skip to content

Commit

Permalink
Re #3 removed double references to revision in a single file
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Apr 8, 2019
1 parent 06db9e0 commit 7c44abc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 4 additions & 5 deletions _test/test_sqw/combine_cuts.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
% >> wtot=combine_cuts(w)
%
% Assumes that combining is valid - no checks performed.
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
%


nw=numel(w);
if nw==1 % catch case of single cut
Expand Down Expand Up @@ -79,9 +83,6 @@
% vout=[v(1)*ones(1:n(1)), v(2)*ones(1:n(2), ...)]'

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)

if numel(npix)==numel(v)
% Get the bin index for each pixel
nend=cumsum(npix(:));
Expand All @@ -107,8 +108,6 @@

% Original author: T.G.Perring
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)

wout=w;

% Get the bin index for each pixel
Expand Down
6 changes: 2 additions & 4 deletions algorithms/read_horace.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
%
% Original author: T.G.Perring
%
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)
%
% Read sqw/dnd object from a file or array of sqw/dnd objects from a set of files
%
% >> w=read_horace(file)
Expand All @@ -26,8 +23,9 @@

% Original author: T.G.Perring
%
%
% $Revision:: 1750 ($Date:: 2019-04-08 17:55:21 +0100 (Mon, 8 Apr 2019) $)

%

% Perform operations
% ------------------
Expand Down

0 comments on commit 7c44abc

Please sign in to comment.