doe300 / VC4C

Compiler for the VC4CL OpenCL implementation
MIT License
117 stars 37 forks source link

Fix test_prime #134

Closed long-long-float closed 5 years ago

long-long-float commented 5 years ago

In this test case, i equals root by counting up, so root % i == 0 is evaluated true and out equals false every time.

doe300 commented 5 years ago

Very stupid mistake, thanks;)