Skip to content

Commit 5ddfc63

Browse files
committed
update
1 parent 20a63df commit 5ddfc63

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Provide the solver with an instance of the functor and the target vector:
5050
thrust::fill(v.begin(), v.end(), 1);
5151
//A vector to store the result of sqrt(M)*v
5252
thrust::device_vector<real> result(size);
53-
//A functor that multiplies by the identity matrix times two
53+
//A functor that multiplies by a diagonal matrix
5454
MatrixDot dot(size);
5555
//Call the solver
5656
real* d_result = thrust::raw_pointer_cast(result.data());

example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int main(){
4545
std::fill(v.begin(), v.end(), 1);
4646
//A vector to store the result of sqrt(M)*v
4747
std::vector<real> result(size);
48-
//A functor that multiplies by the identity matrix times two
48+
//A functor that multiplies by a diagonal matrix
4949
MatrixDot dot(size);
5050
//Call the solver
5151
int numberIterations = lanczos.solve(dot, result.data(), v.data(), size);

example.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ int main(){
4545
lanczos::detail::device_fill(v.begin(), v.end(), 1);
4646
//A vector to store the result of sqrt(M)*v
4747
lanczos::device_container<real> result(size);
48-
//A functor that multiplies by the identity matrix times two
48+
//A functor that multiplies by ta diagonal matrix
4949
MatrixDot dot(size);
5050
//Call the solver
5151
real* d_result = lanczos::detail::getRawPointer(result);

0 commit comments

Comments
 (0)