diff --git a/runtime/samples/vec_multiply/main.c b/runtime/samples/vec_multiply/main.c index aa4913a..fdfc21a 100644 --- a/runtime/samples/vec_multiply/main.c +++ b/runtime/samples/vec_multiply/main.c @@ -45,7 +45,7 @@ int main() { for (int i = 0; i < IREE_ARRAYSIZE(data); i++) { double value = data[i]; printf("%f\n", value); - if (value == (i + 1) * 2) continue; + if (value != (i + 1) * 2) return 1; } return 0; }