Skip to content

Commit 792802a

Browse files
authored
Added missing float suffixes
1 parent 552768c commit 792802a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Inverse-S-Curves.dctl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ __DEVICE__ float invTanFunc(float s_H, float s_S, float s_M, float x) {
1515
}
1616

1717
__DEVICE__ float invAbFunc(float s_H, float s_S, float s_M, float x) {
18-
if(x >= 0.5f * s_H) return (- s_H * s_S * s_M + 0.5 * s_H + x * s_S * s_M - x) / (s_S * (x - s_H));
19-
else return -1.0f * ((0.5 * s_H - x * s_S * s_M - x) / (x * s_S));
18+
if(x >= 0.5f * s_H) return (- s_H * s_S * s_M + 0.5f * s_H + x * s_S * s_M - x) / (s_S * (x - s_H));
19+
else return -1.0f * ((0.5f * s_H - x * s_S * s_M - x) / (x * s_S));
2020
}
2121

2222
__DEVICE__ float invAlFunc(float s_H, float s_S, float s_M, float x) {

0 commit comments

Comments
 (0)