• Thomas Trummer's avatar
    Fix invalid call to __host__ function in computeBondedForces · 62f7a04c
    Thomas Trummer authored
    Explicitly cast the second parameter to the type of the first one so the compiler can pick an overload that is supported in device code (fixes error: calling a __host__ function("fmin<float, int, (int)0> ") from a __global__ function("computeBondedForces") is not allowed).
    62f7a04c
cmapTorsionForce.cc 4.16 KB