Commit 90c53518 authored by Jean-Eric Campagne's avatar Jean-Eric Campagne
Browse files

(JEC) 29/4/15 bug fix in LaguerreTransform::Index2R

parent b8c1a6a9
...@@ -46,7 +46,7 @@ class LaguerreTransform : public BaseLaguerreTransform { ...@@ -46,7 +46,7 @@ class LaguerreTransform : public BaseLaguerreTransform {
int R2Index(r_8 r) const; int R2Index(r_8 r) const;
//! return the nodes position: no boundchecking //! return the nodes position: no boundchecking
r_8 Index2R(int k) const { r_8 Index2R(int k) const {
return nodes_[k]; return nodes_[k]*R_/nodes_[N_-1];
} }
......
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