MFVarGetFloat does not work as expected

+        release_max = ddischarge_min*2;
+        release_min = discharge_min;