Fix typo in assert causing compile failure in debug mode

d_m should have been d_M