Skip to content

Better "matrices not aligned" message - #2

Merged
charris merged 3 commits into
charris:move-dotblas-to-multiarrayfrom
larsmans:dot-errmsg-no-dotblas
Aug 25, 2014
Merged

charris merged 3 commits into
charris:move-dotblas-to-multiarrayfrom
larsmans:dot-errmsg-no-dotblas

Conversation

@larsmans

Copy link
Copy Markdown

This is numpy#4985 merged into numpy#4969.

I had to move convert_shape_to_string to common.h so that _dotblas.c
can access it.
@larsmans larsmans changed the title etter "matrices not aligned" message Better "matrices not aligned" message Aug 24, 2014

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

end may not be the best label, makes me think of END keyword in many languages. Maybe exit or some such?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exit is an identifier reserved by the C standard, hence end :)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe finish, cleanup, doexit?. A thesaurus didn't help any, need a coding thesuarus.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure which problem we're solving. end is not a special identifier in C, and it only occurs in goto and label definition contexts in this function. Should be clear enough, right?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just trying to pick the best words. I agree that this one isn't that important, but I would like to see the function renamed.

@charris

charris commented Aug 24, 2014

Copy link
Copy Markdown
Owner

LGTM modulo quibble on function/label names.

Renamed not_aligned to dot_alignment_error.

Conflicts:
	numpy/core/src/multiarray/cblasfuncs.c
	numpy/core/src/multiarray/common.h
@larsmans
larsmans force-pushed the dot-errmsg-no-dotblas branch from 16a2a82 to ec5ef40 Compare August 25, 2014 06:18
@larsmans

Copy link
Copy Markdown
Author

Force-pushed a new version of the merge commit that renames the function to dot_alignment_error.

charris added a commit that referenced this pull request Aug 25, 2014
Better "matrices not aligned" message
@charris
charris merged commit cfd462e into charris:move-dotblas-to-multiarray Aug 25, 2014
@charris

charris commented Aug 25, 2014

Copy link
Copy Markdown
Owner

Great, thanks @larsmans .

charris pushed a commit that referenced this pull request Aug 27, 2019
charris pushed a commit that referenced this pull request Nov 21, 2021
commit 9c833bed5879d77e625556260690c349de18b433
Author: Thomas Li <[email protected]>
Date:   Wed Nov 17 16:21:27 2021 -0800

    Add Windows config to GHA

    update script [wheel build]

    typo [wheel build]

    fix typo? [wheel build]

    fix linux builds? [wheel build]

    typo [wheel build]

    add license and pin to windows 2016

    skip tests [wheel build]

    pin to windows 2019 instead [wheel build]

    try to find out the error on windows [wheel build]

    maybe fix? [wheel build]

    maybe fix? [wheel build]

    fix? [wheel build]

    cleanup [wheel build]

    Add Windows config to GHA

    update script [wheel build]

    typo [wheel build]

    fix typo? [wheel build]

    fix linux builds? [wheel build]

    typo [wheel build]

    add license and pin to windows 2016

    skip tests [wheel build]

    pin to windows 2019 instead [wheel build]

    try to find out the error on windows [wheel build]

    maybe fix? [wheel build]

    maybe fix? [wheel build]

    fix? [wheel build]

    cleanup [wheel build]

    Update LICENSE_win32.txt

    Update LICENSE_win32.txt

    Add Windows config to GHA

    update script [wheel build]

    typo [wheel build]

    fix typo? [wheel build]

    fix linux builds? [wheel build]

    typo [wheel build]

    add license and pin to windows 2016

    skip tests [wheel build]

    pin to windows 2019 instead [wheel build]

    try to find out the error on windows [wheel build]

    maybe fix? [wheel build]

    maybe fix? [wheel build]

    fix? [wheel build]

    cleanup [wheel build]

    Update LICENSE_win32.txt

    Update LICENSE_win32.txt

    Update cibw_test_command.sh

commit 4bd12df
Author: Thomas Li <[email protected]>
Date:   Mon Nov 15 17:28:47 2021 -0800

    # This is a combination of 14 commits.
    # This is the 1st commit message:

    Add Windows config to GHA
    # This is the commit message #2:

    update script [wheel build]
    # This is the commit message #3:

    typo [wheel build]
    # This is the commit message #4:

    fix typo? [wheel build]
    # This is the commit message #5:

    fix linux builds? [wheel build]
    # This is the commit message #6:

    typo [wheel build]
    # This is the commit message #7:

    add license and pin to windows 2016
    # This is the commit message #8:

    skip tests [wheel build]
    # This is the commit message #9:

    pin to windows 2019 instead [wheel build]
    # This is the commit message #10:

    try to find out the error on windows [wheel build]
    # This is the commit message #11:

    maybe fix? [wheel build]
    # This is the commit message #12:

    maybe fix? [wheel build]
    # This is the commit message #13:

    fix? [wheel build]
    # This is the commit message #14:

    cleanup [wheel build]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants