diff --git a/doc/examples/mtapi/mtapi_c_network-fragmented.cc b/doc/examples/mtapi/mtapi_c_network-fragmented.cc index 0b7e4fd..eafc07a 100644 --- a/doc/examples/mtapi/mtapi_c_network-fragmented.cc +++ b/doc/examples/mtapi/mtapi_c_network-fragmented.cc @@ -88,7 +88,7 @@ void RunMTAPI_C_Network() { for (int ii = 0; ii < kElements; ii++) { if (results[ii] != ii * 2 + 1) { - printf("result %d was expected to be %d but was %d.\n", + printf("result %d was expected to be %d but was %f.\n", ii, ii * 2 + 1, results[ii]); exit(MTAPI_ERR_UNKNOWN); } diff --git a/doc/examples/mtapi/mtapi_c_opencl-fragmented.cc b/doc/examples/mtapi/mtapi_c_opencl-fragmented.cc index 5631f3d..741c461 100644 --- a/doc/examples/mtapi/mtapi_c_opencl-fragmented.cc +++ b/doc/examples/mtapi/mtapi_c_opencl-fragmented.cc @@ -84,7 +84,7 @@ void RunMTAPI_C_OpenCL() { for (int ii = 0; ii < kElements; ii++) { if (results[ii] != ii * 2 + 1) { - printf("result %d was expected to be %d but was %d.\n", + printf("result %d was expected to be %d but was %f.\n", ii, ii * 2 + 1, results[ii]); exit(MTAPI_ERR_UNKNOWN); }