Your definition is incorrect. The coefficient of restitution, $e$, is not defined as you stated. Let $u_1$, $u_2$, $v_1$, and $v_2$ be the initial and final velocities of objects $a$ and $b$ respectively.
The way to correctly remember the coefficient of restitution is defined as the velocity of separation divided by the velocity of approach. Alternatively, you can remember it is the negative of the relative velocities.
$$e=\frac {v_2 - v_1}{u_1 -u_2}=-\frac {v_2 - v_1}{u_2 -u_1}$$
It is very important to note you cannot write these as vectors ($\vec u_1$ and so on). As bemjanim pointed out in the comments, you can't divide vectors. Instead, the velocities we use here are the components of the actual velocities along the line of force, or the head-on velocity components of the collision. Of course, if you're considering a collision between point objects in $ℝ^1$, all collisions are head on.
It's useful to note what velocity of separation and velocity of approach actually mean, since these terms can be a little confusing. Check this question for further clarity.
As a side note, one should be careful while using Wikipedia as a source of scientific formulae. Moreover, if you scroll further down in the same page, you will see that the derivation of this formula is done by equating kinetic energies for an elastic collision. Try proving this to yourself by doing the derivation.