remove unnecessary tempspec

Co-authored-by: Awni Hannun <awni.hannun@gmail.com>
This commit is contained in:
Yury Popov 2025-04-22 10:37:16 +03:00 committed by GitHub
parent ce99b8848b
commit e857189b2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,6 @@ struct LogAddExp {
: (maxval + log1p(metal::exp(minval - maxval))); : (maxval + log1p(metal::exp(minval - maxval)));
}; };
template <>
complex64_t operator()(complex64_t x, complex64_t y) { complex64_t operator()(complex64_t x, complex64_t y) {
if (metal::isnan(x.real) || metal::isnan(x.imag) || metal::isnan(y.real) || if (metal::isnan(x.real) || metal::isnan(x.imag) || metal::isnan(y.real) ||
metal::isnan(y.imag)) { metal::isnan(y.imag)) {