Lake mapper: bug in handle_outlet_node()
  File "/Users/gtucker/Dev/Landlab/Clone/landlab/landlab/components/flow_routing/lake_mapper.py", line 582, in map_depressions
    self.route_flow()

  File "/Users/gtucker/Dev/Landlab/Clone/landlab/landlab/components/flow_routing/lake_mapper.py", line 597, in route_flow
    self.handle_outlet_node(outlet_node, nodes_in_lake)

  File "/Users/gtucker/Dev/Landlab/Clone/landlab/landlab/components/flow_routing/lake_mapper.py", line 689, in handle_outlet_node
    self._elev[out_draining]) /

IndexError: index 2147483647 is out of bounds for axis 1 with size 50344

diff --git a/landlab/components/flow_routing/lake_mapper.py b/landlab/components/flow_routing/lake_mapper.py
index 2f9dbc356..a306af0c5 100644
--- a/landlab/components/flow_routing/lake_mapper.py
+++ b/landlab/components/flow_routing/lake_mapper.py
@@ -669,12 +669,12 @@ class DepressionFinderAndRouter(Component):
         if self._grid.status_at_node[outlet_node] == 0:  # it's not a BC
             if self._D8:
                 outlet_neighbors = np.hstack((self._grid.get_active_neighbors_at_node(
-                    outlet_node),
+                    outlet_node, bad_index=-1),
                     self._grid.get_diagonal_list(
-                    outlet_node)))
+                    outlet_node, bad_index=-1)))
             else:
                 outlet_neighbors = self._grid.get_active_neighbors_at_node(
-                    outlet_node).copy()
+                    outlet_node, bad_index=-1).copy()
             inlake = np.in1d(outlet_neighbors.flat, nodes_in_lake)
             assert inlake.size > 0
             outlet_neighbors[inlake] = -1
['landlab/components/flow_routing/lake_mapper.py']