gradient forward reference allowed

From 2882f662fbdbc76cf724cf18da7ffcb19a7e9efa Mon Sep 17 00:00:00 2001
From: Josef Pavlik <josef@pavlik.it>
Date: Thu, 3 Jan 2013 10:57:30 +0100