Function version of g_adjust
Issue #202
new
In some places we want to g_adjust in one direction but not back again. To do this we either need to copy g to a temporary and then adjust that, or to adjust g and then back again when we’re done. Both of these are slightly wasteful.
If we provided a function version then we should be able to avoid this. The subroutine version could be implemented in terms of this function to avoid duplication.