Commit d6da8fc4 authored by Sebastian Heimann's avatar Sebastian Heimann
Browse files

fix problem with exporting dependant parameters

parent 87d0a36e
...@@ -2400,7 +2400,8 @@ def export(what, rundirs, type=None, pnames=None, filename=None): ...@@ -2400,7 +2400,8 @@ def export(what, rundirs, type=None, pnames=None, filename=None):
def dump(x, gm, indices): def dump(x, gm, indices):
if type == 'vector': if type == 'vector':
print >>out, ' ', ' '.join('%16.7g' % v for v in x[indices]), \ print >>out, ' ', ' '.join(
'%16.7g' % problem.extract(x, i) for i in indices), \
'%16.7g' % gm '%16.7g' % gm
elif type == 'source': elif type == 'source':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment