In the paper we proposed an algorithm implemented under Matlab software package which computes the standard Grssberger -- Procaccia correlation dimension of an attractor. This tool is briefly reviewed and applied to the very interesting two-dimensional Gumowski-Mira map. The relative merits and drawbacks of this indicator of order and chaos are pointed out.