Skip to content

Commit 8fe5faa

Browse files
committed
no implicit int casting!
1 parent ba2a24d commit 8fe5faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: msmtools/estimation/dense/tmat_sampling/src/sample_rev.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "sample_rev.h"
2929
#include "util.h"
3030

31-
double _square(x) { return x*x; }
31+
static inline double _square(double x) { return x*x; }
3232

3333

3434
int _accept_step(double log_prob_old, double log_prob_new)

0 commit comments

Comments
 (0)