Skip to content

Commit 3527ad6

Browse files
committed
Revert math type
1 parent 4be3d07 commit 3527ad6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ipc/barrier/barrier.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class ClampedLogBarrier : public Barrier {
131131
/// @return The units of the barrier function.
132132
double units(const double dhat) const override
133133
{
134-
// (d - \hat{d})² = d̂² (d/\hat{d} - 1)²
134+
// (d - )² = d̂² (d/ - 1)²
135135
return dhat * dhat;
136136
}
137137
};
@@ -251,7 +251,7 @@ class ClampedLogSqBarrier : public Barrier {
251251
/// @return The units of the barrier function.
252252
double units(const double dhat) const override
253253
{
254-
// (d - \hat{d})² = d̂² (d/\hat{d} - 1)²
254+
// (d - )² = d̂² (d/ - 1)²
255255
return dhat * dhat;
256256
}
257257
};
@@ -303,7 +303,7 @@ class CubicBarrier : public Barrier {
303303
/// @return The units of the barrier function.
304304
double units(const double dhat) const override
305305
{
306-
// (d - \hat{d})² = d̂² (d/\hat{d} - 1)²
306+
// (d - )² = d̂² (d/ - 1)²
307307
return dhat * dhat;
308308
}
309309
};

0 commit comments

Comments
 (0)