← Back to team overview

fenics team mailing list archive

Re: [Deb-dev] Build time bugs in syfi and segfaults in dolfin -- Partially Fixed

 

Thought it would help to include the relavent lines (line 97) from
/tmp/tmpCMJ4kh2009-2-12-11-48_instant/dolfin_compile_function_df46e19d3b7dfd0a28ed8c435a22313b/dolfin_compile_function_df46e19d3b7dfd0a28ed8c435a22313b.i
where dolfin.i is being imported

the lines are :
-------------------

%include exception.i

%include std_vector.i
%template(STLVectorFunctionPtr) std::vector<dolfin::Function *>;
%pythoncode %{
import dolfin.cpp
'''
A hack to get passed a bug in swig.
This is fixed in swig svn, and will be shipped with swig 1.3.37
%}
%import dolfin.i
%pythoncode %{
'''
%}


Could there be a problem with the "hack" ?

regards
bt


References