Skip to content

Commit

Permalink
PI : define PI as a const double
Browse files Browse the repository at this point in the history
  • Loading branch information
kamarya committed Mar 13, 2021
1 parent 25d3761 commit 8169830
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/susa.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@
#ifndef SUSA_H
#define SUSA_H

namespace susa {
// Constants
#define PI 3.1415926535897932384626433
const double PI = 3.1415926535897932384626433;
}

// STL headers
#include <cmath>
Expand Down

0 comments on commit 8169830

Please sign in to comment.