File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ class ClampedLogBarrier : public Barrier {
131
131
// / @return The units of the barrier function.
132
132
double units (const double dhat) const override
133
133
{
134
- // (d - \hat{d} )² = d̂² (d/\hat{d} - 1)²
134
+ // (d - d̂ )² = d̂² (d/d̂ - 1)²
135
135
return dhat * dhat;
136
136
}
137
137
};
@@ -251,7 +251,7 @@ class ClampedLogSqBarrier : public Barrier {
251
251
// / @return The units of the barrier function.
252
252
double units (const double dhat) const override
253
253
{
254
- // (d - \hat{d} )² = d̂² (d/\hat{d} - 1)²
254
+ // (d - d̂ )² = d̂² (d/d̂ - 1)²
255
255
return dhat * dhat;
256
256
}
257
257
};
@@ -303,7 +303,7 @@ class CubicBarrier : public Barrier {
303
303
// / @return The units of the barrier function.
304
304
double units (const double dhat) const override
305
305
{
306
- // (d - \hat{d} )² = d̂² (d/\hat{d} - 1)²
306
+ // (d - d̂ )² = d̂² (d/d̂ - 1)²
307
307
return dhat * dhat;
308
308
}
309
309
};
You can’t perform that action at this time.
0 commit comments