Skip to content

Commit

Permalink
Modify proj_linfl2 to be octave-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbeckr committed Jun 16, 2014
1 parent f8616ab commit 843866a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion proj_linfl2.m
Expand Up @@ -16,7 +16,11 @@
end

% In r2007a and later, we can use bsxfun instead of the spdiags trick
vr=version('-release');
if exist('OCTAVE_VERSION','builtin')
vr = '2000';
else
vr=version('-release');
end
if str2num(vr(1:4)) >= 2007
op = @(varargin)proj_linfl2_q_bsxfun( q, varargin{:} );
else
Expand Down

0 comments on commit 843866a

Please sign in to comment.