Skip to content

Commit

Permalink
NDEBUG in affine.h
Browse files Browse the repository at this point in the history
  • Loading branch information
shizuo-kaji committed Feb 6, 2017
1 parent dfcf41f commit 1a49e46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -26,7 +26,7 @@ http://link.springer.com/chapter/10.1007/978-4-431-55483-7_6?no-access=true
# How to compile:
- For Mac users, look at the included Xcode project file ( or Makefile )
- For Windows users, look at the included Visual Studio project file. __DO NOT__ turn on AVX or you'll get an exception.
Please refer to Autodesk's web page for details.
- on some systems, specifying the compiler option -DEIGEN_DONT_VECTORIZE may be necessary to avoid compilation errors (thank giordi91 for this information)

# How to use:
1. Place the plugin files in "MAYA_PLUG_IN_PATH"
Expand Down
4 changes: 3 additions & 1 deletion affinelib.h
Expand Up @@ -28,9 +28,11 @@

#include <cmath>
#include <iostream>
#include <cassert>
#include <vector>

// disable assert lines
#define NDEBUG
#include <cassert>

/// threshold for small values to be regarded zero
#define EPSILON 10e-15
Expand Down

0 comments on commit 1a49e46

Please sign in to comment.