niazalikhan87 / qutip

Automatically exported from code.google.com/p/qutip
2 stars 1 forks source link

Attribute 'expect_avg' missing from Odeoptions class. #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. opts = Odeoptions()
2. print opts

What is the expected output? What do you see instead?

Expected: A list of options set in the Odeoptions object.
Instead: AttributeError: Odeoptions instance has no attribute 'expect_avg'

What version of the product are you using? On what operating system?

QuTip v2.0 on 12.04 LTS.

Please provide any additional information below.

Original issue reported on code.google.com by arne.gri...@gmail.com on 5 Sep 2012 at 1:25

GoogleCodeExporter commented 8 years ago
Fixed.  expect_avg should have been replaced by mc_avg 

Original comment by nonhermitian on 5 Sep 2012 at 2:55

GoogleCodeExporter commented 8 years ago
Might just add that the documentation refers to "expect_avg" as well:

http://qutip.googlecode.com/svn/doc/2.0.0/html/guide/dynamics/dynamics-options.h
tml

Original comment by arne.gri...@gmail.com on 5 Sep 2012 at 5:49