only mode test block 120 and equivalence of values of the ea parameter between a pure biventricular stimulation situation vvd 0 and one or more stimulation configurations of the lr type that is to say with a first stimulation in the left cavity test of block 126 the algorithm then tests the effect of a variation of the avd on the ea parameter in rv only pacing mode block 120 similar to block 114 for but pacing in the right cavity the lack of change after the test reveals a loss of capture in the right cavity block 122 which should be remedied by triggering a capture test and update of the stimulation energy of the right ventricle block 124 if however a change in the avd actually induces a variation of the ea parameter block 120 the presence of this variability suggests the occurrence of a phenomenon of anodal stimulation to remove this doubt the test continues by evaluating block 126 the equivalence between configurations with different vvd but wherein left side stimulation precedes the right side stimulation configuration u201c left first u201d or u201c lr u201d if an equivalence is found between these configurations this may mean that hemodynamically the variation of the vvd produces no results between the first stimulation in the left cavity and the second stimulation in the right cavity typical situation of the presence of anodal stimulation block 128 it is therefore necessary to update the stimulation energy of the left ventricle or to change the polarity of the stimulation of the left ventricle by a different selection of electrodes so as to define another stimulation vector block 130 if instead changing the vvd.