summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2017-08-23 15:10:04 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2017-08-23 15:10:04 +0100
commita2ca45848e354f376c53ecd3fed946d64c1ff3aa (patch)
treeb9f5cdcb962b6433112dc85e1742013f9623f5c9
parentad62962697509d977087c25d24a3ff083d9c4308 (diff)
downloadregularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.tar.gz
regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.tar.bz2
regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.tar.xz
regularization-a2ca45848e354f376c53ecd3fed946d64c1ff3aa.zip
module rename
-rw-r--r--src/Python/fista_module.cpp4
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>();