Skip to content

fix: correct internal spelling typos#1516

Closed
lb1192176991-lab wants to merge 1 commit into
MFlowCode:masterfrom
lb1192176991-lab:fix/spelling-typos
Closed

fix: correct internal spelling typos#1516
lb1192176991-lab wants to merge 1 commit into
MFlowCode:masterfrom
lb1192176991-lab:fix/spelling-typos

Conversation

@lb1192176991-lab
Copy link
Copy Markdown

What

Fixes three spelling typos in the codebase:

  1. BC_SlIP_WALLBC_SLIP_WALL in src/common/m_boundary_common.fpp:263 — lowercase l instead of L in SlIP. Fortran is case-insensitive so it compiled, but a grep for BC_SLIP_WALL would miss this site.
  2. lblB in src/common/m_finite_differences.fpp:42 — declared everywhere else as lB; this single site used lowercase.
  3. fite_path_destfile_path_dest in toolchain/mfc/test/case.py:482,487 — clear naming typo in variable name.

Why

Spelling errors in identifiers degrade grep-ability and code readability even when they compile (Fortran case-insensitivity).

Testing

All changes are cosmetic identifier renames. No behavior change.

Fixes #1498 (items 2, 4, 5).

- BC_SlIP_WALL → BC_SLIP_WALL (lowercase 'l' typo, Fortran is
  case-insensitive so it compiled, but grep missed this site)
- lb → lB (lowercase 'l' vs uppercase 'B' consistency in
  m_finite_differences.fpp allocate)
- fite_path_dest → file_path_dest (typo in variable name)

Fixes MFlowCode#1498 (partial — items 2, 4, 5).
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.64%. Comparing base (08d12f8) to head (547e47b).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1516   +/-   ##
=======================================
  Coverage   60.64%   60.64%           
=======================================
  Files          73       73           
  Lines       20213    20213           
  Branches     2936     2936           
=======================================
  Hits        12259    12259           
  Misses       5966     5966           
  Partials     1988     1988           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Fix internal spelling typos (HardcodedDellacation, BC_SlIP_WALL, tangental, fite_path_dest, lb)

2 participants