Skip to content
Snippets Groups Projects
Commit 8ba15bf8 authored by Markus Blatt's avatar Markus Blatt
Browse files

Move back to the old implementation which seems to give significantly

better results for Arnes problems.

[[Imported from SVN: r1019]]
parent a92077ac
No related branches found
No related tags found
No related merge requests found
......@@ -363,7 +363,7 @@ namespace Dune
inline bool EdgeProperties::isOneWay() const
{
// Test whether only the first bit is set
return isStrong() && !isTwoWay();
//return isStrong() && !isTwoWay();
return ((flags_) & std::bitset<SIZE>((1<<INFLUENCE)|(1<<DEPEND)))==(1<<DEPEND);
}
......
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