> In FastICA I'm using asserts to make sure all is fine.

Maybe they should be move to the fast_dot function then. Another option
would be to default back to standard dot if we are not in the good
situation.