Skip to content

Conversation

@affeldt-aist
Copy link
Member

@affeldt-aist affeldt-aist commented May 22, 2025

Motivation for this change

fixes #1636

Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Merge policy

As a rule of thumb:

  • PRs with several commits that make sense individually and that
    all compile are preferentially merged into master.
  • PRs with disorganized commits are very likely to be squash-rebased.
Reminder to reviewers

End numFieldNormedType.
Import numFieldNormedType.Exports.

Definition pseudoMetric_normed (K : numFieldType) (M : normedZmodType K) : Type
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there not pseudometric somewhere? If so, why do we need to change the alias?

Copy link
Member Author

Choose a reason for hiding this comment

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

I looked at existing aliases (e.g., pseudoMetric_bool in bool_topology.v) and observed that they had more elaborated names, so I concluded that a name that better explains the input and the output could be more appropriate, hence the name change.

Copy link
Member Author

Choose a reason for hiding this comment

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

arg, not a good example since this precise example might actually be useless, see issue #1636

Co-authored-by: Quentin Vermande <[email protected]>
@affeldt-aist affeldt-aist added this to the 1.12.0 milestone Jun 5, 2025
@affeldt-aist affeldt-aist added the enhancement ✨ This issue/PR is about adding new features enhancing the library label Jun 5, 2025
@affeldt-aist affeldt-aist merged commit 999a24b into math-comp:master Jun 5, 2025
34 checks passed
IshiguroYoshihiro pushed a commit to IshiguroYoshihiro/analysis that referenced this pull request Jun 12, 2025
* alias for pseudometric and factory for normed module

---------

Co-authored-by: Quentin Vermande <[email protected]>
IshiguroYoshihiro pushed a commit to IshiguroYoshihiro/analysis that referenced this pull request Jun 20, 2025
* alias for pseudometric and factory for normed module

---------

Co-authored-by: Quentin Vermande <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement ✨ This issue/PR is about adding new features enhancing the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pseudoMetric_bool: documentation mismatch

2 participants