Mentions légales du service

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

Fix matfaust.lazylinop.horzcat multiplication (exceeding row dimension of operand).

parent e046a993
No related branches found
No related tags found
No related merge requests found
...@@ -428,7 +428,7 @@ classdef LazyLinearOp < handle % needed to use references on objects ...@@ -428,7 +428,7 @@ classdef LazyLinearOp < handle % needed to use references on objects
function mul = hstack_mul(L, op, o) function mul = hstack_mul(L, op, o)
% TODO: check dimensions % TODO: check dimensions
mul = L * o(1:size(L, 2), :) + op * o(size(L,2)+1:size(o, 2), :) mul = L * o(1:size(L, 2), :) + op * o(size(L,2)+1:size(o, 1), :);
end end
function HI = hstack_id(L, op, S) function HI = hstack_id(L, op, S)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment