Skip to content

Commit

Permalink
fix latent syntax error caused by min max macro
Browse files Browse the repository at this point in the history
  • Loading branch information
endyul committed Jun 4, 2017
1 parent e93434b commit 4fd2bff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion thirdparty/dynet/dynet/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,12 @@ Expression softsign(const Expression& x);
* \return An expression where the ith element is equal to x_i^y_i
*/
Expression pow(const Expression& x, const Expression& y);

#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
/**
* \ingroup arithmeticoperations
* \brief Minimum
Expand Down

0 comments on commit 4fd2bff

Please sign in to comment.