error: floating-point literal cannot appear in a constant-expression

I am compiling dynamic_graph_bridge with g++ 4.6.3 ubuntu 12.04 64bits and get the error in subject line 24 of src/ros_joint_state.hh:

static const double ROS_JOINT_STATE_PUBLISHER_RATE = 1. / 100.;

It seems that the variable affectation should occur outside class declaration. I am going to fix this issue in a pull request.