|
Ublas : |
From: Karl Meerbergen (Karl.Meerbergen_at_[hidden])
Date: 2004-12-29 09:58:51
Hi Dmitri,
At this stage, uBLAS assumes that the matrix structure arrays (template argt
IA) are arrays of unsigned integers. Using signed integers may create
warnings. Using SuperLU, or Metis bindings creates warnings. It is something
we should work on. I even had a situation where a compiler errors was raised.
(I reported this some time ago.)
Best,
Karl
On Wednesday 29 December 2004 15:47, dsorkin_at_[hidden] wrote:
> Hi.
> I'm using boost bindings to umfpack
> (from boost sandbox : boost-sandbox/libs/numeric/bindings/umfpack ).
>
> Umfpack "symbolic" driver function (in C) accept
> an " int " for matrix sizes and " int* " for indexes array.
> (Strictly speaking, it should have been 'unsigned' and 'unsigned*',
> if I don't miss some point.)
>
> As I understand, ublas matrix methods do some 'unsigned' comparisons
> to check sizes inside the code. This causes g++ to issue warning
> messages like this:
> "Warning : comparison of signed vs. unsigned.",
> even when compiling the basic examples from umfpack bindings documentation.
>
> I like to compile with 'g++ -ansi -pedantic -Wall' and don't like
> warnings.
>
> :)
>
> What can I do ?
>
> Thank you.
> Dmitri Sorkin.