Skip to content

Commit 3ed76f5

Browse files
committed
fix: change dsyr to ssyr
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: missing_dependencies - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 1117111 commit 3ed76f5

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/blas/base/ssyr/examples/c

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/blas/base/ssyr/examples/c/example.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
#include "stdlib/blas/base/dsyr.h"
19+
#include "stdlib/blas/base/ssyr.h"
2020
#include "stdlib/blas/base/shared.h"
2121
#include <stdio.h>
2222

@@ -41,15 +41,15 @@ int main( void ) {
4141
const int N = 3;
4242

4343
// Perform the symmetric rank 1 operation `A = α*x*x^T + A`:
44-
c_dsyr( CblasColMajor, CblasUpper, N, 1.0f, x, 1, A1, N );
44+
c_ssyr( CblasColMajor, CblasUpper, N, 1.0f, x, 1, A1, N );
4545

4646
// Print the result:
4747
for ( int i = 0; i < N*N; i++ ) {
4848
printf( "A1[ %i ] = %f\n", i, A1[ i ] );
4949
}
5050

5151
// Perform the symmetric rank 1 operation `A = α*x*x^T + A` using alternative indexing semantics:
52-
c_dsyr_ndarray( CblasUpper, N, 1.0f, x, 1, 0, A2, N, 1, 0 );
52+
c_ssyr_ndarray( CblasUpper, N, 1.0f, x, 1, 0, A2, N, 1, 0 );
5353

5454
// Print the result:
5555
for ( int i = 0; i < N*N; i++ ) {

0 commit comments

Comments
 (0)