Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Check metadata
run: pipx run twine check dist/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -44,15 +44,16 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_PASSWORD }}
skip-existing: true
verbose: true
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from setuptools import setup, find_packages

name = "cubao_headers"
version = "0.1.0"
version = "0.1.1"

pattern = ["*"]

Expand Down
3 changes: 2 additions & 1 deletion include/cubao/polyline_ruler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,8 @@ struct PolylineRuler
}
double minDist = std::numeric_limits<double>::infinity();
Eigen::Vector3d minP(0.0, 0.0, 0.0);
double minI = 0., minT = 0.;
int minI = 0;
double minT = 0.0;
for (int i = 0; i < N - 1; ++i) {
double t = 0.;
Eigen::Vector3d ab = line.row(i + 1) - line.row(i);
Expand Down
Loading
Loading