name of constant

Submitted by Benito van der Zander

Assigned to Nobody

Link to original bugzilla bug (#323)

Description

In Constants.h there is a definition "const int Infinity = -1;"

This is a very bad name, because it is easily confused with an constant for an actual infinity (i.e. INFINITY); and doesn't reflect the fact that it means the infinity norm.

You should use something like InfinityNorm.

(This becomes especially annoying if you use Qt Creator which autocompletes "INF" to "Infinity")

Blocking

#331

Edited by Eigen Bugzilla