UFL

typo in cosh implementation?

Bug #1155439 reported by Cian Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UFL
Fix Released
Critical
Martin Sandve Alnæs

Bug Description

I think a 'h' is missing in the implementation of cosh. return FloatValue(math.cos(float(argument))) should be return FloatValue(math.cosh(float(argument))).

Not actually run into this so no failing case to report but was just reading the code for another reason and spotted this.

Revision history for this message
Cian Wilson (cwilson) wrote :
Revision history for this message
Martin Sandve Alnæs (martinal) wrote :

Thanks! That's what I get for skipping the unit test...

Changed in ufl:
status: New → Incomplete
status: Incomplete → Fix Committed
importance: Undecided → Critical
assignee: nobody → Martin Sandve Alnæs (martinal)
milestone: none → 1.2.0
Johannes Ring (johannr)
Changed in ufl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.