Skip to content
Snippets Groups Projects
Commit 73ef4a60 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Specialize IsNumber for adouble

Otherwise certain matrix-copying methods will not work anymore.
parent 2088ddef
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,15 @@
#include <adolc/adouble.h>
#include <dune/fufem/utilities/adolcnamespaceinjections.hh>
#include <dune/common/typetraits.hh>
namespace Dune {
template <>
struct IsNumber<adouble>
{
constexpr static bool value = true;
};
}
#include <array>
#include <dune/common/bitsetvector.hh>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment