Skip to content

Commit

Permalink
define pi
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 5, 2025
1 parent 4342100 commit 85da8fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions models/lpjguess/src/allocation.LPJGUESS.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#include <Rcpp.h>
#include <cmath>

#ifndef PI
#define PI 3.14159265358979323846
#endif

using namespace Rcpp;

/************************************************************************/
Expand Down

0 comments on commit 85da8fb

Please sign in to comment.