Problem with inf

Hello–I am new to fenics, so apologies for the naive question. We are trying to get our first hello world model running and are running into the following error. Was wondering if someone could point us in the right direction. Happy to share the code. Thank you so much!!

First, we have this quadrature_degree’ warning and then we have this ‘inf’ error. We were able to fix the “quadrature_degree” warning by setting the degree manually (dx = dx(metadata={‘quadrature_degree’: q_degree}), but still triggered the inf compiler error. I am including both in case the warning provides some clue to the inf.

Calling FFC just-in-time (JIT) compiler, this may take some time.
WARNING: The number of integration points for each cell will be: 20736
Consider using the option ‘quadrature_degree’ to reduce the number of points
------------------- Start compiler output ------------------------
/tmp/tmprrx38748/ffc_form_4e004d3ad13f1f08c104e60f734fe363c2f8f009.cpp: In member function ‘virtual void ffc_form_4e004d3ad13f1f08c104e60f734fe363c2f8f009_cell_integral_main_otherwise::tabulate_tensor(double*, const double* const*, const double*, int, std::size_t) const’:
/tmp/tmprrx38748/ffc_form_4e004d3ad13f1f08c104e60f734fe363c2f8f009.cpp:83:61: error: ‘inf’ was not declared in this scope
alignas(32) static const double weights20736[20736] = { inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf, inf…inf}

Please supply a minimal code example that reproduces your error, following the guidelines in:

When you share the code, please use 3x` encapsulation to ensure proper formatting.