logical error

A mistake in the design of a program, for example, a branch to a wrong statement, or the use of an inappropriate mathematical formula. A logical error will be recognised because the program produces wrong results or an incorrect display. It is unlikely to generate an error message because the error is in the program design.