Skip to content

Commit d1821a3

Browse files
Add files via upload
1 parent 6d0858e commit d1821a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

+examples/+studies/+santtus_peeling_article/zef_rec_diff.m

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@
8787

8888
rec_component_ind = 3 * (i-1) + j;
8989

90-
z_ij = z{rec_component_ind};
90+
z_ij = zeros(3*size(zef.source_positions,1),1);
91+
z_ij_aux = z{rec_component_ind};
92+
z_ij(1:length(z{rec_component_ind})) = z_ij_aux;
9193

9294
reshaped_z_ij = reshape(z_ij, 3, size(zef.source_positions,1));
9395

0 commit comments

Comments
 (0)