Fix: options incorrect assignment of OPT_DOUBLE

When a double option was specified it was getting assigned to the OPT_INT and then not accessible.
Changed it to correctly access the OPT_DOUBLE