Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixiong-tang committed Oct 21, 2023
1 parent 33b38a4 commit 9314ab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ endif()

include_directories(3rdparty src)

option(BUILD_EXAMPLES "Build examples" ON)
option(BUILD_EXAMPLES "Build examples" OFF)
if(BUILD_EXAMPLES)
file(GLOB SRCS examples/*.cpp)
foreach(src ${SRCS})
Expand Down
4 changes: 2 additions & 2 deletions src/bindings/pybind11_network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ void bind_network(py::module &m)
.def("__repr__", [](const ProjectedPoint &self) {
auto &p = self.position();
auto &d = self.direction();
return fmt::format("ProjectedPoint(pos=[{:.7f},{:.7f},{:.2f}],dir=["
"{:.2f},{:.2f},{:.1f}],"
return fmt::format("ProjectedPoint(pos=[{:.7f},{:.7f},{:.2f}],"
"dir=[{:.2f},{:.2f},{:.1f}],"
"dist={:.2f},road={},offset={:.2f})",
p[0], p[1], p[2], //
d[0], d[1], d[2], //
Expand Down

0 comments on commit 9314ab4

Please sign in to comment.