File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ namespace pmfe {
37
37
ParameterVector fv_to_pv (BBP::FVector v, Rational multi) {
38
38
ParameterVector pv (
39
39
mpq_class (v.cartesian (0 ).mpq ()),
40
- multi,
40
+ multi * mpq_class (v. cartesian ( 2 ). mpq ()) ,
41
41
mpq_class (v.cartesian (1 ).mpq ()),
42
42
mpq_class (v.cartesian (2 ).mpq ())
43
43
);
@@ -117,11 +117,10 @@ namespace pmfe {
117
117
};
118
118
119
119
BBP::FPoint RNAPolytope::remove_b_param (BBP::FPoint point, ParameterVector p){
120
- Rational scale = p.dummy_scaling != 0 ? p.dummy_scaling : 1 ;
121
120
BBP::FPoint out (
122
121
point.homogeneous (0 ),
123
122
point.homogeneous (2 ),
124
- point.homogeneous (3 )+((point.homogeneous (1 ) * multiloop_weight) / scale ),
123
+ point.homogeneous (3 )+((point.homogeneous (1 ) * multiloop_weight)),
125
124
1
126
125
);
127
126
return out;
You can’t perform that action at this time.
0 commit comments