aboutsummaryrefslogtreecommitdiffstats
path: root/gui/quadtree.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2021-01-28 16:10:22 +0000
committerGitHub <noreply@github.com>2021-01-28 16:10:22 +0000
commit15b2852b916c1299dfc1d91a217de3060701bfbe (patch)
tree8e7ffbce4b7d253f05d0bb58ea6430aae8e1b065 /gui/quadtree.h
parent0d9790421699a22fc6a5962b41910c3b7d089353 (diff)
parent94e8847d674388c3c8ac663fa4912bb8029b2951 (diff)
downloadnextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.tar.gz
nextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.tar.bz2
nextpnr-15b2852b916c1299dfc1d91a217de3060701bfbe.zip
Merge pull request #556 from YosysHQ/dave/cleanup
General opportunistic cleanup
Diffstat (limited to 'gui/quadtree.h')
-rw-r--r--gui/quadtree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/quadtree.h b/gui/quadtree.h
index a6c38a85..5bbd2ebb 100644
--- a/gui/quadtree.h
+++ b/gui/quadtree.h
@@ -20,7 +20,7 @@
#ifndef QUADTREE_H
#define QUADTREE_H
-// This file implements a quad tree used for comitting 2D axis aligned
+// This file implements a quad tree used for committing 2D axis aligned
// bounding boxes and then retrieving them by 2D point.
NEXTPNR_NAMESPACE_BEGIN
@@ -382,17 +382,17 @@ template <typename CoordinateT, typename ElementT> class QuadTree
// Standard constructor.
//
- // @param b Bounding box of the entire tree - all comitted elements must
+ // @param b Bounding box of the entire tree - all committed elements must
// fit within in.
QuadTree(BoundingBox b) : root_(b, 0) {}
// Inserts a new value at a given bounding box.e
// BoundingBoxes are not deduplicated - if two are pushed with the same
- // coordinates, the first one will take precendence.
+ // coordinates, the first one will take precedence.
//
// @param k Bounding box at which to store value.
// @param v Value at a given bounding box.
- // @returns Whether the insert was succesful.
+ // @returns Whether the insert was successful.
bool insert(BoundingBox k, ElementT v)
{
k.fixup();