diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2017-08-23 15:10:04 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2017-08-23 15:10:04 +0100 |
commit | a2ca45848e354f376c53ecd3fed946d64c1ff3aa (patch) | |
tree | b9f5cdcb962b6433112dc85e1742013f9623f5c9 | |
parent | ad62962697509d977087c25d24a3ff083d9c4308 (diff) | |
download | regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.tar.gz regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.tar.bz2 regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.tar.xz regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.zip |
module rename
-rw-r--r-- | src/Python/fista_module.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Python/fista_module.cpp b/src/Python/fista_module.cpp index eacda3d..c36329e 100644 --- a/src/Python/fista_module.cpp +++ b/src/Python/fista_module.cpp @@ -1032,13 +1032,13 @@ bp::list TGV_PD(np::ndarray input, double d_lambda, double d_alpha1, double d_al return result; } -BOOST_PYTHON_MODULE(regularizers) +BOOST_PYTHON_MODULE(cpu_regularizers) { np::initialize(); //To specify that this module is a package bp::object package = bp::scope(); - package.attr("__path__") = "regularizers"; + package.attr("__path__") = "cpu_regularizers"; np::dtype dt1 = np::dtype::get_builtin<uint8_t>(); np::dtype dt2 = np::dtype::get_builtin<uint16_t>(); |