In computing a taxpayer’s taxable income for any taxable year under a method of accounting different from the method under which the taxpayer’s taxable income for the previous year was computed, there shall be taken into account those adjustments which are determined, under regulations prescribed by the director of revenue, to be necessary solely by reason of the change in order to prevent amounts from being duplicated or omitted.