Skip to content

Commit ab83f75

Browse files
committed
Rename copySignPow to copyDirectionPow
1 parent 158f023 commit ab83f75

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

subprojects/robotpy-wpimath/semiwrap/MathUtil.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ functions:
3535
overloads:
3636
const Translation2d&, const Translation2d&, units::second_t, units::meters_per_second_t:
3737
const Translation3d&, const Translation3d&, units::second_t, units::meters_per_second_t:
38-
CopySignPow:
39-
template_impls:
40-
- [double]
4138
CopyDirectionPow:
42-
ignore: true
39+
overloads:
40+
T, double, T:
41+
template_impls:
42+
- [double]
43+
const Eigen::Vector<T, N>&, double, T:
44+
ignore: true
45+
template_impls:
46+
- [double, Eigen::Dynamic]

subprojects/robotpy-wpimath/wpimath/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from ._wpimath import (
88
angleModulus,
99
applyDeadband,
10-
copySignPow,
10+
copyDirectionPow,
1111
inputModulus,
1212
objectToRobotPose,
1313
slewRateLimit,
@@ -16,7 +16,7 @@
1616
__all__ = [
1717
"angleModulus",
1818
"applyDeadband",
19-
"copySignPow",
19+
"copyDirectionPow",
2020
"inputModulus",
2121
"objectToRobotPose",
2222
"slewRateLimit",

0 commit comments

Comments
 (0)