@@ -144,13 +144,13 @@ void black_scholes(double *price,
144144 dpnp_memory_free_c (w1);
145145 double *halfs_mul_erf_w1 =
146146 (double *)dpnp_memory_alloc_c (size * sizeof (double ));
147- // halfs_mul_erf_w1 = halfs * erf_w1
147+ // halfs_mul_erf_w1 = half * erf_w1
148148 dpnp_multiply_c<double , double , double >(halfs_mul_erf_w1, half, scalar_size,
149149 &scalar_size, ndim, erf_w1, size,
150150 &size, ndim, NULL );
151151 dpnp_memory_free_c (erf_w1);
152152 double *d1 = (double *)dpnp_memory_alloc_c (size * sizeof (double ));
153- // d1 = halfs + halfs_mul_erf_w1
153+ // d1 = half + halfs_mul_erf_w1
154154 dpnp_add_c<double , double , double >(d1, half, scalar_size, &scalar_size,
155155 ndim, halfs_mul_erf_w1, size, &size,
156156 ndim, NULL );
@@ -161,13 +161,13 @@ void black_scholes(double *price,
161161 dpnp_memory_free_c (w2);
162162 double *halfs_mul_erf_w2 =
163163 (double *)dpnp_memory_alloc_c (size * sizeof (double ));
164- // halfs_mul_erf_w2 = halfs * erf_w2
164+ // halfs_mul_erf_w2 = half * erf_w2
165165 dpnp_multiply_c<double , double , double >(halfs_mul_erf_w2, half, scalar_size,
166166 &scalar_size, ndim, erf_w2, size,
167167 &size, ndim, NULL );
168168 dpnp_memory_free_c (erf_w2);
169169 double *d2 = (double *)dpnp_memory_alloc_c (size * sizeof (double ));
170- // d2 = halfs + halfs_mul_erf_w2
170+ // d2 = half + halfs_mul_erf_w2
171171 dpnp_add_c<double , double , double >(d2, half, scalar_size, &scalar_size,
172172 ndim, halfs_mul_erf_w2, size, &size,
173173 ndim, NULL );
0 commit comments