Fix linear.cpp