You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
We shouldn't segfault here. Instead, the desired behaviour is to return an array containing the correct number of INVALID_SPEED values, similar to what happens when node pairs are not found (see
write a JS test that verifies the correct number of INVALID_SPEED values are returned if loadCSVs hasn't been called but we call getRouteSpeeds
update package.json with a new version (0.0.4 perhaps?)
create CHANGELOG.md to capture this change
merge PR to master
tag the release
publish binaries by pushing an empty commit with the words [publish binary] in the commit message (I use git commit --allow-empty -m '[publish binary]' && git push).
npm publish new version to the npmjs.org repository
The text was updated successfully, but these errors were encountered:
When you use the
SpeedLookup
module, if you callgetRouteSpeeds
before you callloadCSVs
, a segfault is raised.After some debugging, this was tracked down to the
datamap
variable being uninitialized here:route-annotator/src/speed_lookup_bindings.cpp
Line 180 in 7338f74
We shouldn't segfault here. Instead, the desired behaviour is to return an array containing the correct number of
INVALID_SPEED
values, similar to what happens when node pairs are not found (seeroute-annotator/src/segment_speed_map.cpp
Line 94 in 7338f74
Checklist to fix this:
loadCSVs
hasn't been called but we callgetRouteSpeeds
package.json
with a new version (0.0.4 perhaps?)CHANGELOG.md
to capture this change[publish binary]
in the commit message (I usegit commit --allow-empty -m '[publish binary]' && git push
).npm publish
new version to the npmjs.org repositoryThe text was updated successfully, but these errors were encountered: