having imperfections or faults
"The scientist discovered that the results were flawed due to a calculation error."