Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2c5218fd authored by hhakim's avatar hhakim
Browse files

Fix matfaust LazyLinearOp.pagemtimes: falling back to mtimes if op is two dimensional.

parent fe81bd3d
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,11 @@ classdef LazyLinearOp < handle % needed to use references on objects
%>
%=============================================================
function PM = pagemtimes(L, op)
sop = size(op);
if numel(sop) < 3
PM = mtimes(L, op);
return;
end
function C = product(varargin)
[F{1:nargin}] = ndgrid(varargin{:});
for i=nargin:-1:1
......@@ -259,7 +264,6 @@ classdef LazyLinearOp < handle % needed to use references on objects
end
C = unique(G , 'rows');
end
sop = size(op);
sopc = num2cell(sop);
PM = zeros(size(L, 1), size(op, 2), sopc{3:end});
idl = cell(1, numel(sop) - 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment