~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to python/test/t_Bisection_std.py

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-05-10 17:27:55 UTC
  • mfrom: (1.1.4 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100510172755-cb5ynskknqqi5rhp
Tags: 0.13.2-2ubuntu1
* Merge with Debian testing. No changes left.
* ubuntu_fix-python-2.6.patch: fix detection of python 2.6 libs, to not use
  LOCALMODLIBS. This pulls a dependency on SSL and makes the package FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    myAlgo = Bisection()
19
19
    print "myAlgo=" , myAlgo 
20
20
    value = 0.0
21
 
    print "Solve " , formulas[0] , "=%.6f" % value , " for " , input[0] 
22
 
    print "x=%.6f" % myAlgo.solve(analytical, value, 0.0, 3.0) 
 
21
    print "Solve " , formulas[0] , "=%.5f" % value , " for " , input[0] 
 
22
    print "x=%.5f" % myAlgo.solve(analytical, value, 0.0, 3.0) 
23
23
    print "myAlgo=" , myAlgo 
24
24
 
25
25
except :