Indapamide was found to improve measures of endothelial and arterial functions and to increase longitudinal left ventricular function compared with hydrochlorothiazide in patients with hypertension and diabetes , after 6 months of treatment .