This commit changes the call of workspace->x(0) to workspace->points(0) because of this I no longer need to check if the workspace is a histogram or not. re: #27774