Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 43a48e29 authored by hhakim's avatar hhakim
Browse files

Enforce index buffer types of matfaust BSR matrix cell to int32 (as in C++).

parent 41911a16
Branches
Tags 3.12.0
No related merge requests found
......@@ -52,7 +52,7 @@ function bsr_enc = create_bsr(M, N, bnnz, bdata, bcolinds, brow_count)
if(~ ok) error(err); end
[ok, err] = verify_brow_count(brow_count, M, bdata);
if(~ ok) error(err); end
bsr_enc = {'bsr', M, N, bnnz, bdata, bcolinds, brow_count};
bsr_enc = {'bsr', M, N, bnnz, bdata, int32(bcolinds), int32(brow_count)};
verify_bsr_format(bsr_enc);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment