|
Ublas : |
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-11-24 10:00:27
Am Freitag, 23. November 2007 08:59 schrieb Michele De Stefano:
> Hello to every one.
>
> I have experienced some problems with the usage of axpy_prod in debug
> mode (i.e. "NDEBUG" is not defined, and so, all checks are
> activated).
>
> The last instruction throws an exception.
This typically happens because round off errors dominate the result.
The "big" difference arises from the different orders of operations
used by axpy_prod and prod. You can simple disable the structure check
by adding
-DBOOST_UBLAS_TYPE_CHECK=0
to the compiler options.
mfg
Gunter