Skip to content
Snippets Groups Projects
Commit 6b03ed30 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Remove the line #undef overwrite

Newer versions of ADOL-C do not define 'overwrite' anymore, hence there
is no risk of macro clashing.

[[Imported from SVN: r9798]]
parent ede0268d
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <adolc/adouble.h> #include <adolc/adouble.h>
#include <adolc/drivers/drivers.h> // use of "Easy to Use" drivers #include <adolc/drivers/drivers.h> // use of "Easy to Use" drivers
#include <adolc/taping.h> #include <adolc/taping.h>
#undef overwrite // stupid: ADOL-C sets this to 1, so the name cannot be used
#include <dune/gfe/adolcnamespaceinjections.hh> #include <dune/gfe/adolcnamespaceinjections.hh>
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
// gradient(.) and hessian(.) // gradient(.) and hessian(.)
#include <adolc/taping.h> // use of taping #include <adolc/taping.h> // use of taping
#undef overwrite // stupid: ADOL-C sets this to 1, so the name cannot be used
#include <dune/gfe/adolcnamespaceinjections.hh> #include <dune/gfe/adolcnamespaceinjections.hh>
#include <dune/common/fmatrix.hh> #include <dune/common/fmatrix.hh>
......
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