Skip to content
Snippets Groups Projects
Commit b58a2fde authored by Oliver Sander's avatar Oliver Sander
Browse files

Merge branch 'fix/issue-19' into 'master'

[langrange] Cast to range type

Closes #19

See merge request !246
parents 22b2533a 1d008edc
No related branches found
No related tags found
1 merge request!246[langrange] Cast to range type
Pipeline #60839 passed
......@@ -330,7 +330,7 @@ namespace Dune { namespace Impl
{
if (m == p)
for (unsigned int l = 0; l < i[p]; ++l)
prod *= (j==l) ? R(k) / (i[p]-l) : (kx[p]-l) / (i[p]-l);
prod *= (j==l) ? R(k) / (i[p]-l) : R(kx[p]-l) / (i[p]-l);
else
prod *= factor[p];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment