Skip to content

Commit efa5c3e

Browse files
authored
Merge pull request #485 from nilsdeppe/fix_basic_usage_example
Add extra namespace in Basic Usage example
2 parents 4fb2e26 + 317b546 commit efa5c3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/basic_usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Here is an example that computes the mean of two sets of 4 double floating point
2121
2222
int main(int argc, char* argv[])
2323
{
24-
xs::avx::batch<double> a(1.5, 2.5, 3.5, 4.5);
25-
xs::avx::batch<double> b(2.5, 3.5, 4.5, 5.5);
24+
xs::arch::avx::batch<double> a(1.5, 2.5, 3.5, 4.5);
25+
xs::arch::avx::batch<double> b(2.5, 3.5, 4.5, 5.5);
2626
auto mean = (a + b) / 2;
2727
std::cout << mean << std::endl;
2828
return 0;

0 commit comments

Comments
 (0)