hzhan0607 / cusp-library

Automatically exported from code.google.com/p/cusp-library
Apache License 2.0
0 stars 0 forks source link

smoothed_aggregation.inl has hard-coded single-precision #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Problem:
Trying to use the smoothed_aggregation preconditioner with double-precision 
vectors/matrix doesn't work because there are scalar arguments in _solve 
hardcoded to be float (e.g, 1.0f) which are ruining accuracy.  This can be 
solved by casting to the templated "ValueType" as has been done elsewhere.

What version of the product are you using? On what operating system?
The latest mercurial pull on both Max OS X and Ubuntu

Original issue reported on code.google.com by VictorMi...@gmail.com on 11 Nov 2010 at 1:53

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 60b9fea059.

Original comment by sdalton1@gmail.com on 26 Nov 2010 at 7:10