Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -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>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment