Diff of /blockproc/blockplot.m [7c7a96] .. [3deeb5] Maximize Restore

  Switch to unified view

a/blockproc/blockplot.m b/blockproc/blockplot.m
...
...
42
42
43
43
44
ctf = abs(ctf);
44
ctf = abs(ctf);
45
45
46
if isoctave
46
if isoctave
47
   % The JAVA 2D-array handling is row-major
47
   ctf = cast(ctf,'double');
48
   ctf = cast(ctf,'double').';
48
   javaMethod('append',p,ctf(:),size(ctf,1),size(ctf,2));
49
   javaMethod('append',p,ctf(:),size(ctf,2),size(ctf,1));
49
else
50
else
51
   % Matlab casts correctly
50
   ctf = cast(ctf,'single');
52
   ctf = cast(ctf,'single');
51
   javaMethod('append',p,ctf);
53
   javaMethod('append',p,ctf);
52
end
54
end
53
55
54
56