Skip to content

Commit

Permalink
gpu: use PrimeNone string instead of literal
Browse files Browse the repository at this point in the history
I just noticed this and it was really bothering me. It had to be fixed.
  • Loading branch information
jrelvas-ipc committed Oct 17, 2023
1 parent 8cddff0 commit 377fbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu/target/targetgpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (pt PrimeType) String() string {

func GetPrimeType(s string) PrimeType {
if s == "" {
s = "none"
s = PrimeNone.String()
}

switch s {
Expand Down

0 comments on commit 377fbd2

Please sign in to comment.