fix typo
Fix performance issue in by_frame_solver.assign()