Changeset 3931a24e in sasview for park_integration


Ignore:
Timestamp:
Sep 22, 2008 4:29:41 PM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
5f96484
Parents:
1374174f
Message:

oops. Made a mistake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/test/test_fit_line.py

    r1374174f r3931a24e  
    153153        result2 = fitter.fit() 
    154154        self.assert_(result2) 
    155         print result2.pvec[0],  result2.stderr[0] 
    156         print result2.pvec[1],  result2.stderr[1] 
    157         self.assertTrue( ( math.fabs(result2.pvec[0]-2.5)/3. < result2.stderr[0]) )  
    158          
    159         self.assertTrue( ( math.fabs(result2.pvec[1]-4.0)/3. < result2.stderr[1]) ) 
     155        self.assertTrue( ( math.fabs(result2.pvec[0]-4.0)/3. < result2.stderr[0]) )  
     156         
     157        self.assertTrue( ( math.fabs(result2.pvec[1]-2.5)/3. < result2.stderr[1]) ) 
    160158        self.assertTrue(result2.fitness/49 < 2) 
    161159         
Note: See TracChangeset for help on using the changeset viewer.