]> https://gitweb.dealii.org/ - dealii.git/commit
Fix get_new_point optimization. 8861/head
authorDoug Shi-Dong <doug.shidong@gmail.com>
Thu, 26 Sep 2019 05:47:41 +0000 (01:47 -0400)
committerDoug Shi-Dong <doug.shidong@gmail.com>
Thu, 26 Sep 2019 05:57:03 +0000 (01:57 -0400)
commitcca533afcff88a8d286f9ac601272ec4f4eab5a2
tree4157cf4c347020d6619bf8131c541b6faafea7a8
parent97ee612693818558e9ba8a56f5442ebd3e97b2e9
Fix get_new_point optimization.

A performance-if ignores next point when current point weight = 0.

However, since the current point weight is 0, we should be replacing the current point with the next point, not skipping the next point.
source/grid/manifold.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.