The formal structure of affirming the consequent fallacy is,
P1 - If A is true, then B is true
P2 - B is true
---------------------------------
C - Therefore, A is true
Now if I give another similar example like, (with a B negation)
P1 - If A is true, then B is true
P2 - B is not true
---------------------------------
C - Therefore, A is not true
Will it still be called affirming the consequent fallacy or is there any special name?