is_valid is now consistently overloaded (parameter passed as a reference). Older CUDA compilers complained about this.
This commit is contained in:
@@ -170,7 +170,7 @@ cross(const AcReal3& a, const AcReal3& b)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static HOST_DEVICE_INLINE bool
|
static HOST_DEVICE_INLINE bool
|
||||||
is_valid(const AcReal a)
|
is_valid(const AcReal& a)
|
||||||
{
|
{
|
||||||
return !isnan(a) && !isinf(a);
|
return !isnan(a) && !isinf(a);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user