Python docstring of Expression wrong
Bug #876362 reported by
B. von Loesch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Critical
|
Johan Hake |
Bug Description
In the docstring of the Expression class (dolfin/
void eval(Array<double>& values, const Data& data) const
should be changed to
void eval(Array<double>& values, const Array<double>& x) const
and every occurrence of "data.x" to "x".
description: | updated |
Changed in dolfin: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Johan Hake (johan-hake) |
milestone: | none → 1.0-beta2 |
status: | Confirmed → In Progress |
Changed in dolfin: | |
status: | In Progress → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
On Mon, Oct 17, 2011 at 10:39:59AM -0000, B. von Loesch wrote: functions/ expression. py) the example in part 2 (2. Complex user-
> Public bug reported:
>
> In the docstring of the Expression class
> (dolfin/
> defined JIT-compiled Expressions) is not working because the syntax is
> not used anymore. The header
>
> void eval(Array<double>& values, const Data& data) const
>
> should be changed to
>
> void eval(Array<double>& values, Array<double>& x) const
>
> and every occurrence of "data.x" to "x".
>
> ** Affects: dolfin
> Importance: Undecided
> Status: New
The documentation for eval_cell is also wrong. The x argument is
missing and ufc_cell is undocumented.
--
Anders