Skip to content

Commit

Permalink
Use min and max from algorithm instead of cmath
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardogbg committed Oct 10, 2020
1 parent 3c883de commit ff5b80c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
CC := g++
CPPFLAGS := -Wall -g
LDLIBS = -lstdc++ -lm
OUT := main

SRC_DIR := ./src
Expand Down
4 changes: 2 additions & 2 deletions src/simetrica.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <map>
#include <vector>
#include <cmath>
#include <algorithm>
#include "aresta.h"
#include "simetrica.h"

Expand Down Expand Up @@ -39,4 +39,4 @@ Simetrica::Simetrica() {
map<tuple<int, int>, double> esparsa;
this->esparsa = esparsa;
this->ordem = 0;
};
};

0 comments on commit ff5b80c

Please sign in to comment.