help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OctDev] control-2.3.51 released in package forum - please upload


From: Lukas Reichlin
Subject: Re: [OctDev] control-2.3.51 released in package forum - please upload
Date: Mon, 4 Jun 2012 20:33:36 +0200

On 04.06.2012, at 19:19, c. wrote:

> Lukas, 
> Thanks for your great work!
> 
> I ran the tests on OSX 10.6 with Apple's vecLib and get the failures below [1]
> which you already said should be considered as "no problem".
> 
> On 4 Jun 2012, at 18:56, marco atzeri wrote:
>> I expect a package test function to behave reasonable correctly
>> for most of the system. Borderline case or alternative valid solution
>> should be avoided.
> 
> I agree with Marco, if you think these results are to be considered correct, 
> you should change the tests so that they are not reported as failures.
> This is particularly important as, for example, Debian packagers will not 
> produce a .deb 
> for your package until they see failing tests, and we reaally do want to see 
> the 
> control package in Debian!
> 
> c.
> 

Well, I could use the 'abs' function for the arguments of the assert function, 
or I could comment the tests out. I prefer the first variant.

Could you guys please report which tests of test_control are failing (the 
function name, e.g. hnamodred) and paste the result as below [1]?

Regards,
Lukas

[1]
Failing test, Mac OS X 10.6 with Framework Accelerate

octave:6> test hnamodred
  ***** assert (Mo, Me, 1e-4);
!!!!! test failed
assert (Mo,Me,1e-4) expected
  -0.23910   0.30720   1.16300   1.19670  -1.04970
  -2.97090  -0.23910   2.62700   3.10270  -3.70520
   0.00000   0.00000  -0.51370  -1.28420   0.82230
   0.00000   0.00000   0.15190  -0.51370   0.74350
  -0.44660   0.01430  -0.47800  -0.20130   0.02190
but got
  -0.23915   0.30723   1.16297  -1.19671   1.04965
  -2.97091  -0.23915   2.62702  -3.10273   3.70515
   0.00000   0.00000  -0.51368   1.28421  -0.82227
   0.00000   0.00000  -0.15189  -0.51368   0.74348
   0.44660  -0.01427   0.47803  -0.20129   0.02190
maximum absolute error 7.41035 exceeds tolerance 0.0001
shared variables 
  scalar structure containing the fields:

    Mo =

      -0.23915   0.30723   1.16297  -1.19671   1.04965
      -2.97091  -0.23915   2.62702  -3.10273   3.70515
       0.00000   0.00000  -0.51368   1.28421  -0.82227
       0.00000   0.00000  -0.15189  -0.51368   0.74348
       0.44660  -0.01427   0.47803  -0.20129   0.02190

    Me =

      -0.23910   0.30720   1.16300   1.19670  -1.04970
      -2.97090  -0.23910   2.62700   3.10270  -3.70520
       0.00000   0.00000  -0.51370  -1.28420   0.82230
       0.00000   0.00000   0.15190  -0.51370   0.74350
      -0.44660   0.01430  -0.47800  -0.20130   0.02190

    Info =

      scalar structure containing the fields:

        n =  6
        ns =  6
        hsv =

           2.6790360
           2.1588837
           0.8423953
           0.1928734
           0.0219027
           0.0011311

        nu = 0
        nr =  4

    HSVe =

       2.6790000
       2.1589000
       0.8424000
       0.1929000
       0.0219000
       0.0011000

octave:7> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]