Documentation for TimeSeriesHDF5
Issue #345
resolved
Hi,
apparently, the documentation for TimeSeriesHDF5 seems wrong. Essentially, one argument should be provided but the constructor fails as shown below.
I am using latest vagrant box, with version 1.4.0.
In [9]: from dolfin import *
In [10]: TimeSeriesHDF5("here.hdf5")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-10-b3b4149b3a71> in <module>()
----> 1 TimeSeriesHDF5("here.hdf5")
/usr/lib/python2.7/dist-packages/dolfin/cpp/fem.pyc in __init__(self, *args)
3972
3973 """
-> 3974 _fem.TimeSeriesHDF5_swiginit(self,_fem.new_TimeSeriesHDF5(*args))
3975 __swig_destroy__ = _fem.delete_TimeSeriesHDF5
3976 def store(self, *args):
TypeError: new_TimeSeriesHDF5 expected 2 arguments, got 1
Thanks,
Davide
Comments (6)
-
-
-
assigned issue to
-
assigned issue to
-
- changed milestone to 1.5
-
assigned issue to
-
- marked as trivial
-
- changed status to resolved
Fixed in ad54905.
-
- removed milestone
Removing milestone: 1.5 (automated comment)
- Log in to comment
Yes, the documentation needs to be updated. The first argument should be an MPI communicator. For instance, this should work: