Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!9Resolve "automatic array casting in C++ does not work"
Pipeline #
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment