Commit cdac3f47 authored by akbib's avatar akbib Committed by akbib
Browse files

Return type of method 'energy' is not ctype anymore

[[Imported from SVN: r12667]]
parent 1190401c
...@@ -69,7 +69,7 @@ public: ...@@ -69,7 +69,7 @@ public:
//! Evaluate the strain energy //! Evaluate the strain energy
ReturnType energy(const GridFunction& displace) ReturnType energy(const GridFunction& displace)
{ {
ctype energy=0; ReturnType energy=0;
const GridType& grid = this->basis_->getGridView().grid(); const GridType& grid = this->basis_->getGridView().grid();
ElementIterator eIt = grid.template leafbegin<0>(); ElementIterator eIt = grid.template leafbegin<0>();
......
Supports Markdown
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