← Back to team overview

dolfin team mailing list archive

docstring.i bug

 

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