Commit d441ca9c authored by Manuel Günther's avatar Manuel Günther
Browse files

Added test case using File::cast that does not compile anymore

parent 61719634
Pipeline #3682 failed with stage
in 37 minutes and 31 seconds
......@@ -40,6 +40,10 @@ BOB_TRY
auto input = h5file(hdf5.string().c_str(), 'r');
blitz::Array<uint8_t,1> read_data = input->read<uint8_t,1>(0);
// Does not compile at the moment
blitz::Array<uint16_t,1> read_data_2 = input->cast<uint16_t,1>(0);
input.reset();
if (blitz::any(test_data - read_data))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment