Skip to content

Commit e2e1119

Browse files
committed
adds nolint in stringified opencl code
1 parent d958bd2 commit e2e1119

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

stan/math/opencl/prim/normal_lcdf.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const char opencl_normal_lcdf_impl[] = STRINGIFY(
5555
// normal_lcdf_scaled_diff^10 term will overflow
5656
normal_lcdf_n = -INFINITY;
5757
});
58-
58+
// NOLINTBEGIN
5959
const char opencl_normal_lcdf_ldncdf_impl[] = STRINGIFY(
6060
double normal_ldncdf = 0.0; double t = 0.0; double t2 = 0.0;
6161
double t4 = 0.0;
@@ -159,6 +159,7 @@ const char opencl_normal_lcdf_ldncdf_impl[] = STRINGIFY(
159159
} else {
160160
normal_ldncdf = INFINITY;
161161
});
162+
// NOLINTEND
162163
} // namespace internal
163164

164165
/** \ingroup opencl

stan/math/opencl/prim/std_normal_lcdf.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const char opencl_std_normal_lcdf_impl[] = STRINGIFY(
4949
// std_normal_lcdf_scaled_y^10 term will overflow
5050
std_normal_lcdf_lcdf_n = -INFINITY;
5151
});
52+
// NOLINTBEGIN
5253
const char opencl_std_normal_lcdf_dnlcdf[] = STRINGIFY(
5354
// compute partial derivatives
5455
// based on analytic form given by:
@@ -167,6 +168,7 @@ const char opencl_std_normal_lcdf_dnlcdf[] = STRINGIFY(
167168
} else {
168169
std_normal_lcdf_dnlcdf = INFINITY;
169170
});
171+
// NOLINTEND
170172
} // namespace internal
171173

172174
/** \ingroup opencl

0 commit comments

Comments
 (0)