This fixes a difficult-to-detect bug where if the input parameters to a lut expression used a variable with a derivative that contained a lut expression, the created transition guard would be incorrect. A test was added to detect this problem, and it now passes after the problem was fixed. Please review code changes Taylor, and accept if it looks reasonable.
This fixes a difficult-to-detect bug where if the input parameters to a lut expression used a variable with a derivative that contained a lut expression, the created transition guard would be incorrect. A test was added to detect this problem, and it now passes after the problem was fixed. Please review code changes Taylor, and accept if it looks reasonable.