Skip to content

Commit

Permalink
Fixes an issue that incorrect result occur because of Float16 on AMD64.
Browse files Browse the repository at this point in the history
  • Loading branch information
mntone committed Jan 12, 2024
1 parent 3780aee commit 3b212f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/StarSwings/Objects/Physiology.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public struct PhysiologyGroup {
}

public struct PhysiologySection {
#if os(macOS)
#if os(macOS) || arch(x86_64)
public typealias AverageFloat = Float32
#else
public typealias AverageFloat = Float16
Expand Down

0 comments on commit 3b212f4

Please sign in to comment.