fixed seg fault where double was in place of a pointer
Merge remote-tracking branch 'origin/bounds' into bounds