Skip to content

Commit

Permalink
Change the signature at the beginning of two head files.
Browse files Browse the repository at this point in the history
  • Loading branch information
zfengyan committed Dec 14, 2021
1 parent cf33a8f commit 7c3d77e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion assignment2/src/DA.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once
#ifndef _DA_H
#define _DA_H

#include <queue>
#include "Raster.h"
Expand All @@ -25,3 +26,4 @@ void compute_flow_direction(ProRaster& r,
// compute every accumulation of each cell
void compute_flow_accumulation(ProRaster& r, std::vector<RasterCell>& cell_vector);

#endif
6 changes: 5 additions & 1 deletion assignment2/src/Raster.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#pragma once
#ifndef _RASTER_H_
#define _RASTER_H_

#include <vector>

// Storage and access of a raster of a given size
Expand Down Expand Up @@ -69,3 +71,5 @@ struct ProRaster {
// Output the accumulation proraster file line by line
void output_accumulation(int& current_line, unsigned int* line);
};

#endif

0 comments on commit 7c3d77e

Please sign in to comment.