fix compute post type

Signed-off-by: Marc MacLeod <marbemac@gmail.com>