Fix one more nullptr.
Merge branch 'master' into specialize_branched_loops
Fixed a mismatched type issue in linear solver.