Error with OpenMEEG

Hello everyone. I am writing for an error that I am finding in the BEM volume computing for a couple of patients. In my analyzes, I consider only the skull layer and a regular grid with a resolution of 5 mm. For these patients, however, since yesterday I have found the following error that I do not understand what caused it:

Error using bsxfun
Non-singleton dimensions of the two input arrays must match each other.

Error in panel_protocols (line 44)
eval(macro_method);

Error in tree_callbacks>@(h,ev)panel_protocols('TreeHeadModel',bstNodes) (line 2503)
gui_component('MenuItem', jPopup, [], 'Compute head model', IconLoader.ICON_HEADMODEL, [],
@(h,ev)panel_protocols('TreeHeadModel', bstNodes));

Specifically, I had already calculated a BEM volume for the second subject so I don't know what changed. I am also attaching a small dataset on which to test the problem encountered.

https://drive.google.com/drive/folders/1mOkyxclsUenTwJoFUkgeYp7ODz9KtwhQ?usp=sharing

Thank you very much for your help,
Margherita

1 Like

Bug fixed: https://github.com/brainstorm-tools/brainstorm3/commit/dff0ef95be2618bc9e212a075644715e8274c3f2

Please update Brainstorm and try again.