reno.utils.check_for_easy_static_time_eq#

reno.utils.check_for_easy_static_time_eq(eq)#

Determine whether an equation is t - STATIC_EQ.

This is necessary for basic pymc optimizations on accessing historical values. (Basically any index equations not following this form are gonna be a whole lot harder, and I’m not going to worry about implementing them yet.)

Parameters:

eq (EquationPart)

Return type:

bool