From 07a14fe0d4a20aa3914dc51a5ae5f194020d04db Mon Sep 17 00:00:00 2001 From: John Peterson Date: Fri, 18 Jan 2019 16:18:16 -0500 Subject: [PATCH] GenericProjector fix. I'm not sure why this never came up before, but this fixes an assert/crash for me when trying to call System::project_solution() on a System with FIRST, LAGRANGE variables. Apparently we don't have any tests for that case, but JxW is definitely needed so it should be pre-requested. --- include/systems/generic_projector.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/systems/generic_projector.h b/include/systems/generic_projector.h index 2d43aebd9f5..d088a4344e3 100644 --- a/include/systems/generic_projector.h +++ b/include/systems/generic_projector.h @@ -633,6 +633,7 @@ void GenericProjector::operator() context.get_edge_fe( var, edge_fe ); fe->get_xyz(); + fe->get_JxW(); fe->get_phi(); if (dim > 1)