Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

VBA-Math-Objects Errors in Matrix.cls and Vector.cls

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
visualbasic
Domain
tooling

Research direction

Start by compiling Matrix.cls and Vector.cls to reproduce the reported errors. Review ReplaceRow in Matrix.cls and Magnitude in Vector.cls, then verify that the corrected member references compile and the magnitude calculation still works as intended.

Written by the indexing model from the issue text.

Description

Hi, Thanks for your efforts and sharing's

When I compile your codes

in Matrix.cls file:

Public Function ReplaceRow(iNum, inRow As Vector) As Matrix
    If Me.N <> inRow.N Then

Should be corrected. Vector does not have N

If Me.N <> inRow.M Then

in Vector.cls file

Public Function Magnitude()
    Sum = 0

Should be corrected. Vector has a Sum function also

Public Function Magnitude()
    dsum = 0
    For i = 1 To Me.M
        dsum = dsum + dA(i, 1) ^ 2
    Next i
    Magnitude = Math.sqr(dsum)
End Function

Good days

Dominant language
VBA
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Beakerboy/VBA-Math-Objects

All issues in Beakerboy/VBA-Math-Objects

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.