Boost logo

Ublas :

From: Thomas Lemaire (thomas.lemaire_at_[hidden])
Date: 2004-12-14 02:29:48


I already sent this email to the boost-dev list, but it did not get any
answer, I hope I reach the good audience now... (I also submit a bug in
sourceforge)

When resizing a symmetric matrix with the preserve tag to "true", I got:

before
P:
[6,6]((0,0,0,0,0,0),(0,0,0,0,0,0),(0,0,0,0,0,0),(0,0,0,0,0,0),(0,0,0,0,0,0),(0,0,0,0,0,0))

after
P:
[9,9]((5.54836e-321,-NaN,7.57149e-96,7.57149e-96,7.57149e-96,0,3.06321e-322,0,0),(-NaN,5.75348e+140,4.10451e-115,7.56598e-96,4.10451e-115,0,1.92686e-322,0,0),(7.57149e-96,4.10451e-115,7.57149e-96,7.57149e-96,7.57149e-96,3.31031e-311,6.57819e-313,0,0),(7.57149e-96,7.56598e-96,7.57149e-96,2.34163e-110,0,1.10492e-317,0,3.07265e-311,0),(7.57149e-96,4.10451e-115,7.57149e-96,0,0,5.00601e-308,0,1.10498e-317,0),(0,0,3.31031e-311,1.10492e-317,5.00601e-308,4.99745e-308,0,5.00601e-308,0),(3.06321e-322,1.92686e-322,6.57819e-313,0,0,0,0,4.99745e-308,0),(0,0,0,3.07265e-311,1.10498e-317,5.00601e-308,4.99745e-308,3.06321e-322,0),(0,0,0,0,0,0,0,0,0))

Notice the NaN and others strange things...

I am using solaris 9 with gcc 3.3.3

-- 
thomas