Skip to content
Snippets Groups Projects
Commit 58a0720f authored by Ken Martin's avatar Ken Martin
Browse files

fix cpp check warning for ambiguous precidence

issue between ^ and ternary ?
parent ec2d97db
No related branches found
No related tags found
No related merge requests found
......@@ -416,7 +416,7 @@ int TestOSPRayRenderMesh(int argc, char* argv[])
{
bool ival = (i/10)%2==1;
bool jval = (j/10)%2==1;
unsigned char val = ival^jval?255:0;
unsigned char val = (ival^jval) ? 255 : 0;
aa->SetTuple3(idx, val, val, val);
if (j <= 3 || j >= maxj-3)
{
......
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