mirror of https://github.com/lammps/lammps.git
skip inline function optimizations for windows when compiling with mingw
This commit is contained in:
parent
b7aecc0d59
commit
d5aa60dbfe
|
@ -24,14 +24,13 @@
|
|||
inline double pow(int i, int j){
|
||||
return pow((double)i,j);
|
||||
}
|
||||
#endif
|
||||
inline double sqrt(int i){
|
||||
return sqrt((double) i);
|
||||
}
|
||||
|
||||
inline double fabs(int i){
|
||||
return fabs((double) i);
|
||||
}
|
||||
inline double sqrt(int i){
|
||||
return sqrt((double) i);
|
||||
}
|
||||
#endif
|
||||
|
||||
inline double trunc(double x) {
|
||||
return x > 0 ? floor(x) : ceil(x);
|
||||
|
|
Loading…
Reference in New Issue