Commits

Ruben Martinez-Cantin committed 5ed121b

Solved bug in UseDoxygen.cmake

  • Participants
  • Parent commits 39b1f57

Comments (0)

Files changed (2)

File cmake/UseDoxygen.cmake

 		ADDITIONAL_MAKE_CLEAN_FILES
 		"${DOXYFILE_OUTPUT_DIR}/${DOXYFILE_LATEX_DIR}")
 
-	if(DOXYFILE_LATEX STREQUAL "ON")
+	if(DOXYFILE_LATEX)
 		set(DOXYFILE_GENERATE_LATEX "YES")
 		find_package(LATEX)
 		find_program(DOXYFILE_MAKE make)

File doxygen/demos.dox

 f(x,y) = \left(y-\frac{5.1}{4\pi^2}x^2 + \frac{5}{\pi}x-6\right)^2 + 10\left(1-\frac{1}{8\pi}\right) \cos(x) + 10
 \f]
 
-with a search domain \f$5 \leq x \leq 10\f$, \f$0 \leq y \leq 15\f$.
+with a search domain \f$-5 \leq x \leq 10\f$, \f$0 \leq y \leq 15\f$.
 
 \image html doxygen/branin.jpg