Skip to content

Commit

Permalink
improve SQR macro
Browse files Browse the repository at this point in the history
  • Loading branch information
victorvde committed Jun 22, 2015
1 parent 1119ffa commit 039a333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void compare(const char *name, unsigned w, unsigned h, float *new, float *old);
#define POSSIBLY_UNUSED
#endif

#define SQR(x) (x * x)
#define SQR(x) ((x) * (x))

#define STRINGIFY(x) #x
#ifdef _OPENMP
Expand Down

0 comments on commit 039a333

Please sign in to comment.