summaryrefslogtreecommitdiff
path: root/common/rawaccel-validate.hpp
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-09-16 13:07:43 -0700
committera1xd <[email protected]>2021-09-23 22:34:51 -0400
commit4197e030c5cfeda5592816c8028152d9b7b599e0 (patch)
treea1e5489fbaa0e6e4523dfbb31a3c584c6745a710 /common/rawaccel-validate.hpp
parentGet power cap working (diff)
downloadrawaccel-4197e030c5cfeda5592816c8028152d9b7b599e0.tar.xz
rawaccel-4197e030c5cfeda5592816c8028152d9b7b599e0.zip
Remove weight
Diffstat (limited to 'common/rawaccel-validate.hpp')
-rw-r--r--common/rawaccel-validate.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/rawaccel-validate.hpp b/common/rawaccel-validate.hpp
index 8b99a56..a88d514 100644
--- a/common/rawaccel-validate.hpp
+++ b/common/rawaccel-validate.hpp
@@ -94,10 +94,6 @@ namespace rawaccel {
error("scale"" must be positive");
}
- if (args.weight <= 0) {
- error("weight"" must be positive");
- }
-
if (args.exponent_power <= 0) {
error("exponent"" must be positive");
}