Skip to content

Commit

Permalink
FIX - corrected logic to avoid overwriting device to head transform
Browse files Browse the repository at this point in the history
  • Loading branch information
schoffelen committed Nov 30, 2023
1 parent a750b46 commit 0d81513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matlab/fiff_read_meas_info.m
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
end


if isempty(dev_head_t) || isempty(ctf_head_t)
if isempty(dev_head_t) && isempty(ctf_head_t)
hpi_result = fiff_dir_tree_find(meas_info,FIFF.FIFFB_HPI_RESULT);
if length(hpi_result) == 1
for k = 1:hpi_result.nent
Expand Down

0 comments on commit 0d81513

Please sign in to comment.