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
Branches
Tags
No related merge requests found
......@@ -428,7 +428,7 @@ classdef LazyLinearOp < handle % needed to use references on objects
function mul = hstack_mul(L, op, o)
% 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
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