graphs-and-paths
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -227,3 +227,3 @@ "use strict"; | ||
var start = path.start, end = path.end, orientedEdges = path.orientedEdges, nodes = path.nodes; | ||
if (start === end) { | ||
if (path.orientedEdges.length === 1) { | ||
return path; | ||
@@ -230,0 +230,0 @@ } |
{ | ||
"name": "graphs-and-paths", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Tools for graphs representing 2-D spatial points and links between them.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92972