Fix check that was too restrictive
Merge pull request #1246 from lamblin/fix_check_incsubtensor

Fix check that was too restrictive