Commit a95efa1b authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

bugfix for get_diag

parent eb1a7348
......@@ -508,7 +508,7 @@ classdef itaSuper < itaMeta
function res = get_diag(this)
% use eye as mask for diagonal
res = this(eye(size(this,1)));
res = this(logical(eye(size(this,1))));
end
function this = diag(this,diagonalshift,blocksize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment