missing `break;`?

Issue #784 resolved
Nico Schlömer created an issue

Comments (7)

  1. Umberto Villa

    I agree that a break statement is missing.

    In the current implementation setting type = norm_type::default_norm will set

    ksp_norm_type = KSP_NORM_PRECONDITIONED;
    

    instead of

    ksp_norm_type = KSP_NORM_DEFAULT;
    

    However since fixing this bug will change the behavior of the method, it may be better (for both reproducibility and backward compatibility) to wait until the next major release (i.e. 2017.1) before fixing this bug.

  2. Anders Logg (Chalmers)

    Since it is an obvious bug, let's just fix it. If we state in the release notes (TM) that this bug has been fixed, users will be warned. Any objections to just fixing this? @garth-wells @blechta

  3. Log in to comment