error when using mne_read_forward_solution: operands must be convertible to logical scalar

This is what I got at the Matlab command window:

[fwd]=mne_read_forward_solution(fname,force_fixed);

Reading forward solution from A6_ec1_fen_ds250_ico3_bem5120_fwd.fif...
            Reading a source space...[done]
            Reading a source space...[done]
            2 source spaces read
            Read EEG forward solution (1284 sources, 257 channels, free orientations)
            Source spaces transformed to the forward solution coordinate frame
??? Operands to the || and && operators must be convertible to logical scalar values.

Error in ==> mne_read_forward_solution at 246
if fwd.source_ori == FIFF.FIFFV_MNE_FIXED_ORI || ...

There was no complaint when I used this forward solution in my analysis to compute inverse solutions in mne_analyze.
How should I begin troubleshooting this?

-Jeff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20120609/48c90a48/attachment.html

Did you set force_fixed to either true or false. I do not have any trouble reading your forward solution.

- Matti

I also have no problem reading your fwd solution.

do you have the latest mne-matlab code [1] ?

Alex

[1] https://github.com/mne-tools/mne-matlab

I also have no problem reading your fwd solution.

do you have the latest mne-matlab code [1] ?

I think the problem was that that force_fixed could not be interpreted as logical value. It should be one of true/false.

- Matti