Skip to content
Snippets Groups Projects
Commit c8211acc authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fix comparison

parent d2f10788
No related branches found
No related tags found
1 merge request!23WIP: Feature/use cmake
Pipeline #43228 failed
......@@ -80,7 +80,7 @@ public:
void completeLoopWithExtraField(
const real_number dt,
const field<rnumber, be, fc>& in_field) {
static_assert(fc == THREE || THREExTHREE, "only THREE or THREExTHREE is supported for now");
static_assert((fc == THREE) || (fc == THREExTHREE), "only THREE or THREExTHREE is supported for now");
if (fc == THREE)
{
std::unique_ptr<real_number[]> extra_rhs(new real_number[getLocalNbParticles()*3]());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment