1 // SWIG file BernoulliFactory.i 2 3 %{ 4 #include "openturns/BernoulliFactory.hxx" 5 %} 6 7 %include BernoulliFactory_doc.i 8 9 %include openturns/BernoulliFactory.hxx BernoulliFactory(const BernoulliFactory & other)10namespace OT { %extend BernoulliFactory { BernoulliFactory(const BernoulliFactory & other) { return new OT::BernoulliFactory(other); } } } 11