Fix learning problem: skip line search gradient norm is zero
Merge branch 'fix_non_reachable'
Fix usage of non-existent variable
Merge branch 'master' into accept-serially