VBA-Math-Objects Errors in Matrix.cls and Vector.cls
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Beakerboy/VBA-Math-Objects
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
All issues in Beakerboy/VBA-Math-Objects
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
cline/mcp-marketplace#2696 ·
-
bug os:Windows
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
paperclipai/paperclip#14763 · 1 comment ·
Maintainers usually reply within 1 day