Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
84412ce1
Commit
84412ce1
authored
Jan 07, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delaunau triangulation algorithm was bailing out if run on an emprty container.
parent
6ad9d013
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ratsnest_data.cpp
pcbnew/ratsnest_data.cpp
+1
-1
No files found.
pcbnew/ratsnest_data.cpp
View file @
84412ce1
...
...
@@ -246,7 +246,7 @@ void RN_NET::compute()
return
;
}
else
if
(
boardNodes
.
size
()
==
1
)
// This case is even simpler
else
if
(
boardNodes
.
size
()
==
1
||
boardNodes
.
empty
()
)
// This case is even simpler
{
m_rnEdges
.
reset
(
new
std
::
vector
<
RN_EDGE_PTR
>
(
0
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment