aboutsummaryrefslogtreecommitdiffstats
path: root/src/powm_fw.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-29 19:27:00 +0000
committerlloyd <[email protected]>2006-05-29 19:27:00 +0000
commit244f85eb1d225839403b0e98ccd2dc9a6e94d34f (patch)
tree292c14d3011af59073052848cbdfaa83f12c492b /src/powm_fw.cpp
parente788f117bc34b86237586aeb3abb53c116c24be4 (diff)
Change some calls to vector.at() to use operator[] for GCC 2.95.x
compatability.
Diffstat (limited to 'src/powm_fw.cpp')
-rw-r--r--src/powm_fw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powm_fw.cpp b/src/powm_fw.cpp
index 16f9c6623..577f4968d 100644
--- a/src/powm_fw.cpp
+++ b/src/powm_fw.cpp
@@ -83,7 +83,7 @@ BigInt Fixed_Window_Exponentiator::execute() const
u32bit nibble = exp.get_substring(window_bits*(j-1), window_bits);
if(nibble)
- x = reducer.multiply(x, g.at(nibble-1));
+ x = reducer.multiply(x, g[nibble-1]);
}
return x;
}