Skip to content

Commit

Permalink
fix npoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanting Zhang committed Jan 11, 2024
1 parent d7945b5 commit 7c8b6e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions msm/pippenger.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -841,15 +841,15 @@ static RustError mult_pippenger(point_t *out, const affine_t points[], size_t np
template <class bucket_t, class point_t, class affine_t, class scalar_t,
class affine_h = class affine_t::mem_t,
class bucket_h = class bucket_t::mem_t>
static RustError mult_pippenger_with(point_t *out, msm_context_t<affine_h> *msm_context,
static RustError mult_pippenger_with(point_t *out, msm_context_t<affine_h> *msm_context, size_t npoints,
const scalar_t scalars[], bool mont = true,
size_t ffi_affine_sz = sizeof(affine_t))
{
try
{
msm_t<bucket_t, point_t, affine_t, scalar_t> msm{nullptr, msm_context->npoints, false};
msm_t<bucket_t, point_t, affine_t, scalar_t> msm{nullptr, npoints, false};
msm.set_d_points(msm_context->d_points);
return msm.invoke(*out, nullptr, msm_context->npoints,
return msm.invoke(*out, nullptr, npoints,
scalars, mont, ffi_affine_sz);
}
catch (const cuda_error &e)
Expand Down

0 comments on commit 7c8b6e6

Please sign in to comment.