Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #323

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 Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking