@@ -36,60 +36,57 @@ namespace geode
3636 .def ( " matches" , &DistributionType::operator == );
3737
3838 // UniformClosed<double>
39- pybind11::class_< geode:: UniformClosed< double > >( m , " UniformClosed" )
39+ pybind11::class_< UniformClosed< double > >( module , " UniformClosed" )
4040 .def ( pybind11::init<>() )
41- .def_readwrite (
42- " min_value" , &geode::UniformClosed< double >::min_value )
43- .def_readwrite (
44- " max_value" , &geode::UniformClosed< double >::max_value )
45- .def ( " is_valid" , &geode::UniformClosed< double >::is_valid )
41+ .def_readwrite ( " min_value" , &UniformClosed< double >::min_value )
42+ .def_readwrite ( " max_value" , &UniformClosed< double >::max_value )
43+ .def ( " is_valid" , &UniformClosed< double >::is_valid )
4644 .def ( " distribution_type_static" ,
47- &geode:: UniformClosed< double >::distribution_type_static )
45+ &UniformClosed< double >::distribution_type_static )
4846 .def ( " distribution_type" ,
49- &geode:: UniformClosed< double >::distribution_type )
50- .def ( " string" , &geode:: UniformClosed< double >::string );
47+ &UniformClosed< double >::distribution_type )
48+ .def ( " string" , &UniformClosed< double >::string );
5149
5250 // UniformClosedOpen<double>
53- pybind11::class_< geode:: UniformClosedOpen< double > >(
54- m , " UniformClosedOpen" )
51+ pybind11::class_< UniformClosedOpen< double > >(
52+ module , " UniformClosedOpen" )
5553 .def ( pybind11::init<>() )
5654 .def_readwrite (
57- " min_value" , &geode:: UniformClosedOpen< double >::min_value )
55+ " min_value" , &UniformClosedOpen< double >::min_value )
5856 .def_readwrite (
59- " max_value" , &geode:: UniformClosedOpen< double >::max_value )
60- .def ( " is_valid" , &geode:: UniformClosedOpen< double >::is_valid )
57+ " max_value" , &UniformClosedOpen< double >::max_value )
58+ .def ( " is_valid" , &UniformClosedOpen< double >::is_valid )
6159 .def ( " distribution_type_static" ,
62- &geode:: UniformClosedOpen< double >::distribution_type_static )
60+ &UniformClosedOpen< double >::distribution_type_static )
6361 .def ( " distribution_type" ,
64- &geode:: UniformClosedOpen< double >::distribution_type )
65- .def ( " string" , &geode:: UniformClosedOpen< double >::string );
62+ &UniformClosedOpen< double >::distribution_type )
63+ .def ( " string" , &UniformClosedOpen< double >::string );
6664
6765 // Gaussian
68- pybind11::class_< geode:: Gaussian >( m , " Gaussian" )
66+ pybind11::class_< Gaussian >( module , " Gaussian" )
6967 .def ( pybind11::init<>() )
70- .def_readwrite ( " mean" , &geode:: Gaussian::mean )
68+ .def_readwrite ( " mean" , &Gaussian::mean )
7169 .def_readwrite (
72- " standard_deviation" , &geode:: Gaussian::standard_deviation )
73- .def ( " is_valid" , &geode:: Gaussian::is_valid )
70+ " standard_deviation" , &Gaussian::standard_deviation )
71+ .def ( " is_valid" , &Gaussian::is_valid )
7472 .def ( " distribution_type_static" ,
75- &geode:: Gaussian::distribution_type_static )
76- .def ( " distribution_type" , &geode:: Gaussian::distribution_type )
77- .def ( " string" , &geode:: Gaussian::string );
73+ &Gaussian::distribution_type_static )
74+ .def ( " distribution_type" , &Gaussian::distribution_type )
75+ .def ( " string" , &Gaussian::string );
7876
7977 // TruncatedGaussian
80- pybind11::class_< geode:: TruncatedGaussian >( m , " TruncatedGaussian" )
78+ pybind11::class_< TruncatedGaussian >( module , " TruncatedGaussian" )
8179 .def ( pybind11::init<>() )
82- .def_readwrite ( " mean" , &geode:: TruncatedGaussian::mean )
83- .def_readwrite ( " standard_deviation " ,
84- &geode:: TruncatedGaussian::standard_deviation )
85- .def_readwrite ( " min_value" , &geode:: TruncatedGaussian::min_value )
86- .def_readwrite ( " max_value" , &geode:: TruncatedGaussian::max_value )
87- .def ( " is_valid" , &geode:: TruncatedGaussian::is_valid )
80+ .def_readwrite ( " mean" , &TruncatedGaussian::mean )
81+ .def_readwrite (
82+ " standard_deviation " , & TruncatedGaussian::standard_deviation )
83+ .def_readwrite ( " min_value" , &TruncatedGaussian::min_value )
84+ .def_readwrite ( " max_value" , &TruncatedGaussian::max_value )
85+ .def ( " is_valid" , &TruncatedGaussian::is_valid )
8886 .def ( " distribution_type_static" ,
89- &geode::TruncatedGaussian::distribution_type_static )
90- .def ( " distribution_type" ,
91- &geode::TruncatedGaussian::distribution_type )
92- .def ( " string" , &geode::TruncatedGaussian::string );
87+ &TruncatedGaussian::distribution_type_static )
88+ .def ( " distribution_type" , &TruncatedGaussian::distribution_type )
89+ .def ( " string" , &TruncatedGaussian::string );
9390 }
9491
9592} // namespace geode
0 commit comments