dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19565
docstring.i bug
-
To:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Thu, 02 Sep 2010 23:15:56 +0100
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100820 Thunderbird/3.1.2
There is a problem in the file docstring.i file that leads to a build
failure. The C++ function
KrylovSolver(std::string solver_type = "default",
std::string pc_type = "default");
is being turned into
__init__(self, string solver_type = "default",
string pc_type = "default") -> KrylovSolver
__init__(self, string solver_type = "default") -> KrylovSolver
__init__(self) -> KrylovSolver
in docstring.i, which is obviously ambiguous with the default arguments.
Garth
Follow ups