Merge pull request #839 from mrocklin/optimize-and-scope

compute: traversal updates scope after optimize calls
Merge branch 'master' into bcolz-split