Replaced the standard assert() macro by DAI_ASSERT