Open peltokukka opened 4 years ago
Hello,
I am also running into this same problem that is keeping me from constructing an actual QSM. Any solutions or ideas to fix it? Apologies, matlab is not my strong suit, but I am really interested in this modelling software
In the while-loop starting at line 48 of cubical_partition.m there is a possibility for an infinite loop:
The part
ceil((Max-Min)/el)
approaches[1 1 1]
during the loop, but there is a possibility that the remaining part2*NE+1
takes the product over the while loop limit regardless ofEL
whenNE
is large enough (larger than 395 to be exact).