Check that we did not change values by downcasting
Merge pull request #2 from lamblin/take-op-c-code-clean

Check that we did not change values by downcasting