Skip to content
Commit e391d290 authored by Karl Rupp's avatar Karl Rupp
Browse files

ILU: Preconditioner tags now copied in preconditioner classes (no const-ref).

Otherwise one can do pretty bad things, e.g.:
 ilu_tag tag;
 ilu0_precond p(A, tag);  // creates preconditioner
 tag.set_option();        // propagates through to p
 ...
 p.apply(x);              // might crash because option not considered in setup.

The whole preconditioner configuration via tags and setup in the constructor
is pretty bad and requires revision for ViennaCL 2.0.0.
parent eaccd7fc
Loading
Loading
Loading
Loading
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