From qwan301 at aucklanduni.ac.nz Mon Jul 5 07:39:52 2021 From: qwan301 at aucklanduni.ac.nz (Qifan Wang) Date: Tue, 6 Jul 2021 00:39:52 +1200 Subject: [ntl] overflow issue when pass size_t value to Mat Message-ID: Dear author, I'm using the NTL library. But I encounter a problem. That is, I'm using size_t in my code, but when I create Mat mat; mat.setDims(row, col), it will cause the overflow issue. (row and col is size_t type). In matrix.h: https://libntl.org/doc/matrix.cpp.html we can see that void SetDims(long n, long m); all of these are long type. Best wishes, Qifan -- Qifan Wang PhD Student, Student ID: 187780808 School of Computer Science Faculty of Science The University of Auckland | Te Whare W?nanga o T?maki Makaurau Email: qwan301 at aucklanduni.ac.nz 38 Princes St ? Building 303S? Level 5 ? Room 576 -------------- next part -------------- An HTML attachment was scrubbed... URL: