Adding scalar to solver