From 0e5b3e5a44971ab1602192a1079ff0ebbff8361b Mon Sep 17 00:00:00 2001 From: Yuanming Hu Date: Thu, 13 Feb 2020 10:05:03 -0500 Subject: [PATCH] fixed profiler_clear --- taichi/python_bindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taichi/python_bindings.cpp b/taichi/python_bindings.cpp index 8157bd58dcfcc..aa0704371d663 100644 --- a/taichi/python_bindings.cpp +++ b/taichi/python_bindings.cpp @@ -102,7 +102,7 @@ void export_lang(py::module &m) { .def(py::init<>()) .def_readonly("config", &Program::config) .def("profiler_print", &Program::profiler_print) - .def("profiler_print", &Program::profiler_clear) + .def("profiler_clear", &Program::profiler_clear) .def("finalize", &Program::finalize) .def("get_root", [&](Program *program) -> SNode * {