← Back to team overview

dolfin team mailing list archive

[Bug 497395] Re: cpparg not working in new Expression class

 

This should be fixed now

** Changed in: dolfin
       Status: Confirmed => Fix Committed

-- 
cpparg not working in new Expression class
https://bugs.launchpad.net/bugs/497395
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: Fix Committed

Bug description:
JIT compilation with cpparg=code is not working since Array is not known:

dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx: In function ‘PyObject* _wrap_Convection_eval(PyObject*, PyObject*)’:
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: ‘Array’ was not declared in this scope
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: expected primary-expression before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: expected ‘;’ before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: ‘arg2’ was not declared in this scope
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected type-specifier before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘>’ before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘(’ before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected primary-expression before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘)’ before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘;’ before ‘double’
error: command 'gcc' failed with exit status 1





References