Commit c87bead7 authored by GILLES Sebastien's avatar GILLES Sebastien

#859 Add a static assert in Square() method.

parent 7ef53e90
......@@ -32,11 +32,11 @@ namespace MoReFEM
return std::numeric_limits<T>::max();
template<class T>
constexpr T Square(T value) noexcept
return value * value;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment